diff options
Diffstat (limited to 'nis/nss_nis')
-rw-r--r-- | nis/nss_nis/nis-grp.c | 2 | ||||
-rw-r--r-- | nis/nss_nis/nis-hosts.c | 2 | ||||
-rw-r--r-- | nis/nss_nis/nis-netgrp.c | 4 | ||||
-rw-r--r-- | nis/nss_nis/nis-network.c | 2 | ||||
-rw-r--r-- | nis/nss_nis/nis-proto.c | 2 | ||||
-rw-r--r-- | nis/nss_nis/nis-pwd.c | 2 | ||||
-rw-r--r-- | nis/nss_nis/nis-service.c | 9 | ||||
-rw-r--r-- | nis/nss_nis/nis-spwd.c | 2 |
8 files changed, 13 insertions, 12 deletions
diff --git a/nis/nss_nis/nis-grp.c b/nis/nss_nis/nis-grp.c index 62e6b475b7..72cf1b2747 100644 --- a/nis/nss_nis/nis-grp.c +++ b/nis/nss_nis/nis-grp.c @@ -42,7 +42,7 @@ static char *oldkey = NULL; static int oldkeylen = 0; enum nss_status -_nss_nis_setgrent (void) +_nss_nis_setgrent (int stayopen) { __libc_lock_lock (lock); diff --git a/nis/nss_nis/nis-hosts.c b/nis/nss_nis/nis-hosts.c index 58136f2b26..303cd245c3 100644 --- a/nis/nss_nis/nis-hosts.c +++ b/nis/nss_nis/nis-hosts.c @@ -99,7 +99,7 @@ static char *oldkey = NULL; static int oldkeylen = 0; enum nss_status -_nss_nis_sethostent (void) +_nss_nis_sethostent (int stayopen) { __libc_lock_lock (lock); diff --git a/nis/nss_nis/nis-netgrp.c b/nis/nss_nis/nis-netgrp.c index 71f7b6e4a6..e39c282b8b 100644 --- a/nis/nss_nis/nis-netgrp.c +++ b/nis/nss_nis/nis-netgrp.c @@ -43,7 +43,7 @@ _nss_netgroup_parseline (char **cursor, struct __netgrent *result, char *buffer, size_t buflen, int *errnop); enum nss_status -_nss_nis_setnetgrent (char *group) +_nss_nis_setnetgrent (const char *group, struct __netgrent *dummy) { char *domain; char *result; @@ -92,7 +92,7 @@ _nss_nis_setnetgrent (char *group) enum nss_status -_nss_nis_endnetgrent (void) +_nss_nis_endnetgrent (struct __netgrent *dummy) { __libc_lock_lock (lock); diff --git a/nis/nss_nis/nis-network.c b/nis/nss_nis/nis-network.c index cae0b773b8..ca02f01902 100644 --- a/nis/nss_nis/nis-network.c +++ b/nis/nss_nis/nis-network.c @@ -43,7 +43,7 @@ static char *oldkey = NULL; static int oldkeylen = 0; enum nss_status -_nss_nis_setnetent (void) +_nss_nis_setnetent (int stayopen) { __libc_lock_lock (lock); diff --git a/nis/nss_nis/nis-proto.c b/nis/nss_nis/nis-proto.c index 9b457ffe8a..33286df53a 100644 --- a/nis/nss_nis/nis-proto.c +++ b/nis/nss_nis/nis-proto.c @@ -106,7 +106,7 @@ internal_nis_setprotoent (void) } enum nss_status -_nss_nis_setprotoent (void) +_nss_nis_setprotoent (int stayopen) { enum nss_status status; diff --git a/nis/nss_nis/nis-pwd.c b/nis/nss_nis/nis-pwd.c index 0a337bb9e7..b818f08f05 100644 --- a/nis/nss_nis/nis-pwd.c +++ b/nis/nss_nis/nis-pwd.c @@ -42,7 +42,7 @@ static char *oldkey = NULL; static int oldkeylen = 0; enum nss_status -_nss_nis_setpwent (void) +_nss_nis_setpwent (int stayopen) { __libc_lock_lock (lock); diff --git a/nis/nss_nis/nis-service.c b/nis/nss_nis/nis-service.c index 12ae1c6151..ea1e06eab3 100644 --- a/nis/nss_nis/nis-service.c +++ b/nis/nss_nis/nis-service.c @@ -115,7 +115,7 @@ internal_nis_setservent (intern_t *intern) return status; } enum nss_status -_nss_nis_setservent (void) +_nss_nis_setservent (int stayopen) { enum nss_status status; @@ -207,7 +207,7 @@ _nss_nis_getservent_r (struct servent *serv, char *buffer, size_t buflen, } enum nss_status -_nss_nis_getservbyname_r (const char *name, char *protocol, +_nss_nis_getservbyname_r (const char *name, const char *protocol, struct servent *serv, char *buffer, size_t buflen, int *errnop) { @@ -312,8 +312,9 @@ _nss_nis_getservbyname_r (const char *name, char *protocol, } enum nss_status -_nss_nis_getservbyport_r (int port, char *protocol, struct servent *serv, - char *buffer, size_t buflen, int *errnop) +_nss_nis_getservbyport_r (int port, const char *protocol, + struct servent *serv, char *buffer, + size_t buflen, int *errnop) { intern_t data = { NULL, NULL }; enum nss_status status; diff --git a/nis/nss_nis/nis-spwd.c b/nis/nss_nis/nis-spwd.c index 37ea2f9dbf..d91f624db6 100644 --- a/nis/nss_nis/nis-spwd.c +++ b/nis/nss_nis/nis-spwd.c @@ -42,7 +42,7 @@ static char *oldkey = NULL; static int oldkeylen = 0; enum nss_status -_nss_nis_setspent (void) +_nss_nis_setspent (int stayopen) { __libc_lock_lock (lock); |