diff options
Diffstat (limited to 'include/pwd.h')
-rw-r--r-- | include/pwd.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/pwd.h b/include/pwd.h index ef9b61a..465c17c 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -13,10 +13,10 @@ extern int __getpwuid_r (__uid_t __uid, struct passwd *__resultbuf, extern int __old_getpwuid_r (__uid_t __uid, struct passwd *__resultbuf, char *__buffer, size_t __buflen, struct passwd **__result); -extern int __getpwnam_r (__const char *__name, struct passwd *__resultbuf, +extern int __getpwnam_r (const char *__name, struct passwd *__resultbuf, char *__buffer, size_t __buflen, struct passwd **__result); -extern int __old_getpwnam_r (__const char *__name, struct passwd *__resultbuf, +extern int __old_getpwnam_r (const char *__name, struct passwd *__resultbuf, char *__buffer, size_t __buflen, struct passwd **__result); extern int __fgetpwent_r (FILE * __stream, struct passwd *__resultbuf, @@ -35,13 +35,13 @@ libc_hidden_proto (_nss_files_parse_pwent) extern enum nss_status _nss_ ## service ## _setpwent (int); \ extern enum nss_status _nss_ ## service ## _endpwent (void); \ extern enum nss_status _nss_ ## service ## _getpwnam_r \ - (const char *name, struct passwd *pwd, \ + (const char *name, struct passwd *pwd, \ char *buffer, size_t buflen, int *errnop); \ extern enum nss_status _nss_ ## service ## _getpwuid_r \ - (uid_t uid, struct passwd *pwd, \ + (uid_t uid, struct passwd *pwd, \ char *buffer, size_t buflen, int *errnop); \ extern enum nss_status _nss_ ## service ##_getpwent_r \ - (struct passwd *result, char *buffer, \ + (struct passwd *result, char *buffer, \ size_t buflen, int *errnop); DECLARE_NSS_PROTOTYPES (compat) |