aboutsummaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2014-05-11 13:48:21 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2014-05-11 13:48:21 +0000
commit448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3 (patch)
treee3e7e2d2f693854c41c7eea431d0ace7bd6145fe /include/grp.h
parent204fa412be63514ff5835028e2643e77cf488ce3 (diff)
downloadsrc-448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3.tar.gz
src-448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3.zip
include: Remove checks for __BSD_VISIBLE where redundant with __XSI_VISIBLE
or __POSIX_VISIBLE. Whenever <sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and __XSI_VISIBLE to the newest version supported. No functional change is intended.
Notes
Notes: svn path=/head/; revision=265878
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grp.h b/include/grp.h
index e7f65ecad636..b10fd0f8ad36 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -61,7 +61,7 @@ struct group {
};
__BEGIN_DECLS
-#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
+#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
void endgrent(void);
struct group *getgrent(void);
#endif
@@ -74,11 +74,11 @@ int pwcache_groupdb(int (*)(int), void (*)(void),
struct group * (*)(const char *),
struct group * (*)(gid_t));
#endif
-#if __BSD_VISIBLE || __XSI_VISIBLE
+#if __XSI_VISIBLE
/* XXX IEEE Std 1003.1, 2003 specifies `void setgrent(void)' */
int setgrent(void);
#endif
-#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
+#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
int getgrgid_r(gid_t, struct group *, char *, size_t,
struct group **);
int getgrnam_r(const char *, struct group *, char *, size_t,