diff options
author | jilles <jilles@FreeBSD.org> | 2014-05-11 13:48:21 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-05-11 13:48:21 +0000 |
commit | e47308fc84d8eb2e6e15bb12fafc0792d878a58d (patch) | |
tree | e3e7e2d2f693854c41c7eea431d0ace7bd6145fe /include/grp.h | |
parent | 9ef9db396904b527fb74edb432f42a2b02d6bc6c (diff) | |
download | FreeBSD-src-e47308fc84d8eb2e6e15bb12fafc0792d878a58d.zip FreeBSD-src-e47308fc84d8eb2e6e15bb12fafc0792d878a58d.tar.gz |
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.
Diffstat (limited to 'include/grp.h')
-rw-r--r-- | include/grp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grp.h b/include/grp.h index e7f65ec..b10fd0f 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, |