]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libspl/include/unistd.h
cstyle: Resolve C style issues
[mirror_zfs.git] / lib / libspl / include / unistd.h
index dc95e28b56450fe73a39121ef5f0578549b3523b..53851f4abf4c89e2b5266b0e77a8431237bd3ab9 100644 (file)
 #include_next <unistd.h>
 
 #ifndef _LIBSPL_UNISTD_H
-#define _LIBSPL_UNISTD_H
+#define        _LIBSPL_UNISTD_H
 
 #if !defined(HAVE_IOCTL_IN_UNISTD_H)
-# if defined(HAVE_IOCTL_IN_SYS_IOCTL_H)
-#  include <sys/ioctl.h>
-# elif defined(HAVE_IOCTL_IN_STROPTS_H)
-#  include <stropts.h>
-# else
-#  error "System call ioctl() unavailable"
-# endif
-#endif
+#if defined(HAVE_IOCTL_IN_SYS_IOCTL_H)
+#include <sys/ioctl.h>
+#elif defined(HAVE_IOCTL_IN_STROPTS_H)
+#include <stropts.h>
+#else /* HAVE_IOCTL_IN_STROPTS_H */
+#error "System call ioctl() unavailable"
+#endif /* HAVE_IOCTL_IN_SYS_IOCTL_H */
+#endif /* !HAVE_IOCTL_IN_UNISTD_H */
 
 #if !defined(HAVE_ISSETUGID)
-# include <sys/types.h>
-# define issetugid() (geteuid() == 0 || getegid() == 0)
+#include <sys/types.h>
+#define        issetugid() (geteuid() == 0 || getegid() == 0)
 #endif
 
 #endif /* _LIBSPL_UNISTD_H */