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/shadow.h | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.zip glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.bz2 |
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'include/shadow.h')
-rw-r--r-- | include/shadow.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/shadow.h b/include/shadow.h index 166f684..a3f897c 100644 --- a/include/shadow.h +++ b/include/shadow.h @@ -7,13 +7,13 @@ extern int __getspent_r (struct spwd *__result_buf, char *__buffer, attribute_hidden; extern int __old_getspent_r (struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result); -extern int __getspnam_r (__const char *__name, struct spwd *__result_buf, +extern int __getspnam_r (const char *__name, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result); -extern int __old_getspnam_r (__const char *__name, struct spwd *__result_buf, +extern int __old_getspnam_r (const char *__name, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result); -extern int __sgetspent_r (__const char *__string, +extern int __sgetspent_r (const char *__string, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result); extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf, @@ -32,10 +32,10 @@ libc_hidden_proto (_nss_files_parse_spent) extern enum nss_status _nss_ ## service ## _setspent (int); \ extern enum nss_status _nss_ ## service ## _endspent (void); \ extern enum nss_status _nss_ ## service ## _getspent_r \ - (struct spwd *pwd, char *buffer, size_t buflen, \ + (struct spwd *pwd, char *buffer, size_t buflen, \ int *errnop); \ extern enum nss_status _nss_ ## service ## _getspnam_r \ - (const char *name, struct spwd *pwd, \ + (const char *name, struct spwd *pwd, \ char *buffer, size_t buflen, int *errnop); DECLARE_NSS_PROTOTYPES (compat) |