aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/grp.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-12-06 15:32:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-12-06 15:32:11 +0000
commit57abdf3eaa424deafda497a4a896328238353e18 (patch)
treebf991c3cec997d65842f52c2e09a8ba439e98e83 /src/include/grp.h
parentec85192dacc1bc1ca2efaad4e469d4d1831bce9c (diff)
downloadnsss-57abdf3eaa424deafda497a4a896328238353e18.tar.gz
Prepare for 0.1.0.0, add --enable-libc-includes configure switch
pwd.h, grp.h and shadow.h will not overwrite the libc headers by default anymore; you need to explicitly add the switch.
Diffstat (limited to 'src/include/grp.h')
-rw-r--r--src/include/grp.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/include/grp.h b/src/include/grp.h
index a30fe79..7c5b8f9 100644
--- a/src/include/grp.h
+++ b/src/include/grp.h
@@ -10,17 +10,4 @@
#include <nsss/grp.h>
-#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-#include <sys/types.h>
-extern int setgroups (size_t, gid_t const *) ;
-extern int initgroups (char const *, gid_t) ;
-#endif
-
-#ifdef _GNU_SOURCE
-#include <stdio.h>
-extern struct group *fgetgrent (FILE *) ;
-extern int fgetgrent_r (FILE *, struct group *, char *, size_t, struct group **) ;
-extern int putgrent (struct group const *, FILE *) ;
-#endif
-
#endif