From ed073f0e6249dc1bcecb3f72fa941d01b516be3f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 27 Dec 2000 19:58:36 +0000 Subject: Add prototype for foo. --- nis/nis_intern.h | 3 +++ nis/nss_nis/nis-ethers.c | 2 +- nis/nss_nisplus/nisplus-ethers.c | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'nis') diff --git a/nis/nis_intern.h b/nis/nis_intern.h index 3395046c3f..1352cd5946 100644 --- a/nis/nis_intern.h +++ b/nis/nis_intern.h @@ -51,6 +51,9 @@ extern nis_error __do_niscall3 (dir_binding *dbp, u_long prog, xdrproc_t xres, caddr_t resp, unsigned int flags, nis_cb *cb); +extern u_short __pmap_getnisport (struct sockaddr_in *address, u_long program, + u_long version, u_int protocol); + /* NIS+ callback */ extern nis_error __nis_do_callback (struct dir_binding *bptr, netobj *cookie, struct nis_cb *cb); diff --git a/nis/nss_nis/nis-ethers.c b/nis/nss_nis/nis-ethers.c index f7ff50578e..51c8534894 100644 --- a/nis/nss_nis/nis-ethers.c +++ b/nis/nss_nis/nis-ethers.c @@ -109,7 +109,7 @@ internal_nis_setetherent (void) } enum nss_status -_nss_nis_setetherent (void) +_nss_nis_setetherent (int stayopen) { enum nss_status result; diff --git a/nis/nss_nisplus/nisplus-ethers.c b/nis/nss_nisplus/nisplus-ethers.c index a8af4569b8..061dfbffa0 100644 --- a/nis/nss_nisplus/nisplus-ethers.c +++ b/nis/nss_nisplus/nisplus-ethers.c @@ -1,6 +1,6 @@ -/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. - Contributed by Thorsten Kukuk , 1997. + Contributed by Thorsten Kukuk , 1997. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -98,7 +98,7 @@ _nss_create_tablename (int *errnop) enum nss_status -_nss_nisplus_setetherent (void) +_nss_nisplus_setetherent (int stayopen) { enum nss_status status; int err; -- cgit v1.2.3