aboutsummaryrefslogtreecommitdiff
path: root/grp
diff options
context:
space:
mode:
Diffstat (limited to 'grp')
-rw-r--r--grp/grp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/grp/grp.h b/grp/grp.h
index 13b00ec..7cae768 100644
--- a/grp/grp.h
+++ b/grp/grp.h
@@ -48,13 +48,13 @@ struct group
};
-#if defined __USE_SVID || defined __USE_GNU
+#if defined __USE_MISC || defined __USE_GNU
# define __need_FILE
# include <stdio.h>
#endif
-#if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED
+#if defined __USE_MISC || defined __USE_MISC || defined __USE_XOPEN_EXTENDED
/* Rewind the group-file stream.
This function is a possible cancellation point and therefore not
@@ -62,7 +62,7 @@ struct group
extern void setgrent (void);
#endif
-#if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED \
+#if defined __USE_MISC || defined __USE_MISC || defined __USE_XOPEN_EXTENDED \
|| defined __USE_XOPEN2K8
/* Close the group-file stream.
@@ -77,7 +77,7 @@ extern void endgrent (void);
extern struct group *getgrent (void);
#endif
-#ifdef __USE_SVID
+#ifdef __USE_MISC
/* Read a group entry from STREAM.
This function is not part of POSIX and therefore no official
@@ -154,7 +154,7 @@ extern int getgrnam_r (const char *__restrict __name,
char *__restrict __buffer, size_t __buflen,
struct group **__restrict __result);
-# ifdef __USE_SVID
+# ifdef __USE_MISC
/* Read a group entry from STREAM. This function is not standardized
an probably never will.
@@ -171,7 +171,7 @@ extern int fgetgrent_r (FILE *__restrict __stream,
#endif /* POSIX or reentrant */
-#ifdef __USE_BSD
+#ifdef __USE_MISC
# define __need_size_t
# include <stddef.h>