diff options
Diffstat (limited to 'include/grp.h')
-rw-r--r-- | include/grp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/grp.h b/include/grp.h index 5ed9c972f0..9fa71eac75 100644 --- a/include/grp.h +++ b/include/grp.h @@ -22,10 +22,10 @@ extern int __old_getgrgid_r (__gid_t __gid, struct group *__resultbuf, struct group **__result); /* Search for an entry with a matching group name. */ -extern int __getgrnam_r (__const char *__name, struct group *__resultbuf, +extern int __getgrnam_r (const char *__name, struct group *__resultbuf, char *__buffer, size_t __buflen, struct group **__result); -extern int __old_getgrnam_r (__const char *__name, struct group *__resultbuf, +extern int __old_getgrnam_r (const char *__name, struct group *__resultbuf, char *__buffer, size_t __buflen, struct group **__result); @@ -39,16 +39,16 @@ libc_hidden_proto (_nss_files_parse_grent) extern enum nss_status _nss_ ## service ## _setgrent (int); \ extern enum nss_status _nss_ ## service ## _endgrent (void); \ extern enum nss_status _nss_ ## service ## _getgrgid_r \ - (gid_t gid, struct group *grp, char *buffer, \ + (gid_t gid, struct group *grp, char *buffer, \ size_t buflen, int *errnop); \ extern enum nss_status _nss_ ## service ## _getgrnam_r \ - (const char *name, struct group *grp, \ + (const char *name, struct group *grp, \ char *buffer, size_t buflen, int *errnop); \ extern enum nss_status _nss_ ## service ##_getgrent_r \ - (struct group *result, char *buffer, size_t buflen, \ + (struct group *result, char *buffer, size_t buflen, \ int *errnop); \ extern enum nss_status _nss_ ## service ##_initgroups_dyn \ - (const char *user, gid_t group, long int *start, \ + (const char *user, gid_t group, long int *start, \ long int *size, gid_t **groupsp, long int limit, \ int *errnop); |