fix prototypes/signature for setgroups, etc.

This commit is contained in:
Rich Felker
2011-04-13 09:03:22 -04:00
parent 0f5b43550c
commit 3f44f298e4
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -28,6 +28,12 @@ struct group *getgrent(void);
void endgrent(void);
void setgrent(void);
#ifdef _GNU_SOURCE
int getgrouplist(const char *, gid_t, gid_t *, int *);
int setgroups(size_t, const gid_t *);
int initgroups(const char *, gid_t);
#endif
#ifdef __cplusplus
}
#endif