From 57abdf3eaa424deafda497a4a896328238353e18 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 6 Dec 2020 15:32:11 +0000 Subject: 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. --- src/include/grp.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/include/grp.h') 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 -#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) -#include -extern int setgroups (size_t, gid_t const *) ; -extern int initgroups (char const *, gid_t) ; -#endif - -#ifdef _GNU_SOURCE -#include -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 -- cgit v1.3.1