aboutsummaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 19:58:36 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 19:58:36 +0000
commited073f0e6249dc1bcecb3f72fa941d01b516be3f (patch)
tree8dfe5133dfe2d1516103f7f46cca1ff44bdb4f01 /nis
parent27ee0a559513db0d0e650761b6f4268b39199c74 (diff)
downloadglibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.zip
glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.gz
glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.bz2
Add prototype for foo.
Diffstat (limited to 'nis')
-rw-r--r--nis/nis_intern.h3
-rw-r--r--nis/nss_nis/nis-ethers.c2
-rw-r--r--nis/nss_nisplus/nisplus-ethers.c6
3 files changed, 7 insertions, 4 deletions
diff --git a/nis/nis_intern.h b/nis/nis_intern.h
index 3395046..1352cd5 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 f7ff505..51c8534 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 a8af456..061dfbf 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 <kukuk@vt.uni-paderborn.de>, 1997.
+ Contributed by Thorsten Kukuk <kukuk@suse.de>, 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;