diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-19 09:50:44 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-19 09:50:44 +0000 |
commit | 23bab906b8b67c54fd2ab47f57a2a38c7d967cc8 (patch) | |
tree | 8ea3eacf0fb739f05dcd99d5d6b1332ab1ceda3e /nis | |
parent | 244cd53119c636398de61f20fff4aa74dc6d45aa (diff) | |
download | glibc-23bab906b8b67c54fd2ab47f57a2a38c7d967cc8.zip glibc-23bab906b8b67c54fd2ab47f57a2a38c7d967cc8.tar.gz glibc-23bab906b8b67c54fd2ab47f57a2a38c7d967cc8.tar.bz2 |
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
* nis/nis_intern.h: Add prototype for __do_niscall3.
* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
match prototype.
* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
Diffstat (limited to 'nis')
-rw-r--r-- | nis/nis_intern.h | 6 | ||||
-rw-r--r-- | nis/nss_nis/nis-rpc.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/nis/nis_intern.h b/nis/nis_intern.h index 1d6f017..3395046 100644 --- a/nis/nis_intern.h +++ b/nis/nis_intern.h @@ -1,4 +1,4 @@ -/* Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997. @@ -46,6 +46,10 @@ extern nis_error __do_niscall (const_nis_name name, u_long prog, xdrproc_t xargs, caddr_t req, xdrproc_t xres, caddr_t resp, unsigned int flags, nis_cb *cb); +extern nis_error __do_niscall3 (dir_binding *dbp, u_long prog, + xdrproc_t xargs, caddr_t req, + xdrproc_t xres, caddr_t resp, + unsigned int flags, nis_cb *cb); /* NIS+ callback */ extern nis_error __nis_do_callback (struct dir_binding *bptr, diff --git a/nis/nss_nis/nis-rpc.c b/nis/nss_nis/nis-rpc.c index 8e0fa4c..be7a2d0 100644 --- a/nis/nss_nis/nis-rpc.c +++ b/nis/nss_nis/nis-rpc.c @@ -115,7 +115,7 @@ internal_nis_setrpcent (intern_t *intern) } enum nss_status -_nss_nis_setrpcent (void) +_nss_nis_setrpcent (int stayopen) { enum nss_status status; |