diff options
Diffstat (limited to 'grp/grp.h')
-rw-r--r-- | grp/grp.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -48,7 +48,7 @@ struct group }; -#if defined __USE_MISC || defined __USE_GNU +#ifdef __USE_MISC # define __need_FILE # include <stdio.h> #endif @@ -62,8 +62,7 @@ struct group extern void setgrent (void); #endif -#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \ - || defined __USE_XOPEN2K8 +#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8 /* Close the group-file stream. This function is a possible cancellation point and therefore not @@ -110,7 +109,7 @@ extern struct group *getgrgid (__gid_t __gid); marked with __THROW. */ extern struct group *getgrnam (const char *__name); -#if defined __USE_POSIX || defined __USE_MISC +#ifdef __USE_POSIX # ifdef __USE_MISC /* Reasonable value for the buffer sized used in the reentrant @@ -200,7 +199,7 @@ extern int getgrouplist (const char *__user, __gid_t __group, therefore not marked with __THROW. */ extern int initgroups (const char *__user, __gid_t __group); -#endif /* Use BSD. */ +#endif /* Use misc. */ __END_DECLS |