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/aliases.h | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz |
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'include/aliases.h')
-rw-r--r-- | include/aliases.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/aliases.h b/include/aliases.h index 84c832fdd1..f7cfafcd6c 100644 --- a/include/aliases.h +++ b/include/aliases.h @@ -9,11 +9,11 @@ extern int __old_getaliasent_r (struct aliasent *__restrict __result_buf, char *__restrict __buffer, size_t __buflen, struct aliasent **__restrict __result); -extern int __getaliasbyname_r (__const char *__restrict __name, +extern int __getaliasbyname_r (const char *__restrict __name, struct aliasent *__restrict __result_buf, char *__restrict __buffer, size_t __buflen, struct aliasent **__restrict __result); -extern int __old_getaliasbyname_r (__const char *__restrict __name, +extern int __old_getaliasbyname_r (const char *__restrict __name, struct aliasent *__restrict __result_buf, char *__restrict __buffer, size_t __buflen, struct aliasent **__restrict __result); @@ -22,10 +22,10 @@ extern int __old_getaliasbyname_r (__const char *__restrict __name, extern enum nss_status _nss_ ## service ## _setaliasent (void); \ extern enum nss_status _nss_ ## service ## _endaliasent (void); \ extern enum nss_status _nss_ ## service ## _getaliasent_r \ - (struct aliasent *alias, char *buffer, size_t buflen, \ + (struct aliasent *alias, char *buffer, size_t buflen, \ int *errnop); \ extern enum nss_status _nss_ ## service ## _getaliasbyname_r \ - (const char *name, struct aliasent *alias, \ + (const char *name, struct aliasent *alias, \ char *buffer, size_t buflen, int *errnop); |