git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrap dracut scripts to 79 chars
[zfs.git]
/
lib
/
libspl
/
include
/
unistd.h
diff --git
a/lib/libspl/include/unistd.h
b/lib/libspl/include/unistd.h
index
44173d2
..
dc95e28
100644
(file)
--- a/
lib/libspl/include/unistd.h
+++ b/
lib/libspl/include/unistd.h
@@
-44,14
+44,4
@@
# define issetugid() (geteuid() == 0 || getegid() == 0)
#endif
# define issetugid() (geteuid() == 0 || getegid() == 0)
#endif
-#if !defined(__sun__) && !defined(__sun)
-/* It seems Solaris only returns positive host ids */
-static inline long fake_gethostid(void)
-{
- long id = gethostid();
- return id >= 0 ? id : -id;
-}
-#define gethostid() fake_gethostid()
-#endif
-
#endif /* _LIBSPL_UNISTD_H */
#endif /* _LIBSPL_UNISTD_H */