aboutsummaryrefslogtreecommitdiff
path: root/grp
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-12 20:01:46 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-12 20:01:46 -0800
commitdfe11a137c2bd33bfe2824a2dc218cf8dbc60aba (patch)
treeac5b4c546637c0335ecbf7ff1933f186aaad895b /grp
parent505cf2c00a0b43819f2b90069b42ace79034290d (diff)
downloadglibc-dfe11a137c2bd33bfe2824a2dc218cf8dbc60aba.zip
glibc-dfe11a137c2bd33bfe2824a2dc218cf8dbc60aba.tar.gz
glibc-dfe11a137c2bd33bfe2824a2dc218cf8dbc60aba.tar.bz2
Fix up grp.h for XPG7.
Diffstat (limited to 'grp')
-rw-r--r--grp/grp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/grp/grp.h b/grp/grp.h
index d7cc69d..c06ef03 100644
--- a/grp/grp.h
+++ b/grp/grp.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,1992,1995-2001,2003,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1995-2001,2003,2004,2010
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -61,7 +62,10 @@ struct group
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern void setgrent (void);
+#endif
+#if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED \
+ || defined __USE_XOPEN2K8
/* Close the group-file stream.
This function is a possible cancellation point and therefore not