From 23bab906b8b67c54fd2ab47f57a2a38c7d967cc8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 19 Dec 2000 09:50:44 +0000 Subject: * 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. --- nis/nis_intern.h | 6 +++++- nis/nss_nis/nis-rpc.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'nis') 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 , 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; -- cgit v1.1