diff options
Diffstat (limited to 'libc/pwd_grp/config.h')
-rw-r--r-- | libc/pwd_grp/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/pwd_grp/config.h b/libc/pwd_grp/config.h index 25f450d6c..fb678876b 100644 --- a/libc/pwd_grp/config.h +++ b/libc/pwd_grp/config.h @@ -28,10 +28,12 @@ #include <shadow.h> #define PWD_BUFFER_SIZE 256 +#define GRP_BUFFER_SIZE 256 /* These are used internally to uClibc */ -extern struct group *__getgrent(int grp_fd, char *line_buff, char **members); +extern int __getgrent_r (struct group *__restrict group, + char *__restrict line_buff, size_t buflen, int grp_fd); extern int __getpwent_r(struct passwd * passwd, char * line_buff, size_t buflen, int pwd_fd); extern int __getspent_r(struct spwd * spwd, char * line_buff, |