diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
commit | a784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch) | |
tree | 5ebaa084119dcffe41671a62e2e799b172c57d24 /include/grp.h | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.xz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.zip |
Remove pre-ISO C support
No more __const.
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); |