aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-06 05:10:45 +0000
committerRoland McGrath <roland@gnu.org>2002-08-06 05:10:45 +0000
commite2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be (patch)
tree11a2f090a9a079435c6f771106ed2bc2fe58e29f /include
parenta585ba226b0adfc310a49bb5045c3a3096da3da3 (diff)
downloadglibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar
glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.gz
glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.bz2
glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.zip
* include/stdlib.h: Use libc_hidden_proto for wctomb.
* stdlib/wctomb.c: Add libc_hidden_def. * include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af, rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror. * resolv/herror.c: Likewise. * inet/rcmd.c: Add libc_hidden_def. * inet/ruserpass.c: Likewise. * inet/getnetgrent_r.c: Likewise. * include/rpc/auth.h: Use libc_hidden_proto for getnetname, netname2user, host2netname, user2netname. * sunrpc/netname.c: Add libc_hidden_def. * include/rpc/svc.h: Use libc_hidden_proto for svc_register, svc_unregister, remove *_internal decls. Use libc_hidden_proto for svcerr_auth, svcerr_noprog, svcerr_progvers. * sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to libc_hidden_def. (svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def. * sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register.
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h2
-rw-r--r--include/rpc/auth.h1
-rw-r--r--include/rpc/svc.h11
-rw-r--r--include/stdlib.h1
4 files changed, 9 insertions, 6 deletions
diff --git a/include/netdb.h b/include/netdb.h
index a767ca68c4..a824404cb3 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -21,6 +21,7 @@ __set_h_errno (int __err)
# define __set_h_errno(x) (h_errno = (x))
# endif /* _LIBC_REENTRANT */
+libc_hidden_proto (hstrerror)
libc_hidden_proto (innetgr)
libc_hidden_proto (rcmd_af)
libc_hidden_proto (rexec_af)
@@ -166,6 +167,7 @@ extern int __getnetgrent_r (char **__restrict __hostp,
extern int ruserpass (const char *host, const char **aname,
const char **apass);
+libc_hidden_proto (ruserpass)
/* The following declarations and definitions have been removed from
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index d0a6dd6ec0..9cef7c6fa9 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -4,6 +4,7 @@
libc_hidden_proto (getnetname)
libc_hidden_proto (netname2user)
libc_hidden_proto (host2netname)
+libc_hidden_proto (user2netname)
/* Now define the internal interfaces. */
struct key_netstarg;
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index 77f8e9295e..dc758391a2 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -3,6 +3,11 @@
libc_hidden_proto (xprt_register)
libc_hidden_proto (xprt_unregister)
+libc_hidden_proto (svc_register)
+libc_hidden_proto (svc_unregister)
+libc_hidden_proto (svcerr_auth)
+libc_hidden_proto (svcerr_noprog)
+libc_hidden_proto (svcerr_progvers)
/* Now define the internal interfaces. */
extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
@@ -21,12 +26,6 @@ extern void svc_getreq_common_internal (const int __fd) attribute_hidden;
extern void svc_getreqset_internal (fd_set *__readfds) attribute_hidden;
extern void svc_getreq_poll_internal (struct pollfd *,
const int) attribute_hidden;
-extern bool_t svc_register_internal (SVCXPRT *__xprt, rpcprog_t __prog,
- rpcvers_t __vers,
- __dispatch_fn_t __dispatch,
- rpcprot_t __protocol) attribute_hidden;
-extern void svc_unregister_internal (rpcprog_t __prog,
- rpcvers_t __vers) attribute_hidden;
extern SVCXPRT *svcudp_create_internal (int __sock) attribute_hidden;
extern SVCXPRT *svcudp_bufcreate_internal (int __sock, u_int __sendsz,
u_int __recvsz) attribute_hidden;
diff --git a/include/stdlib.h b/include/stdlib.h
index 501fac2702..7a98943725 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -20,6 +20,7 @@ libc_hidden_proto (fcvt_r)
libc_hidden_proto (qecvt_r)
libc_hidden_proto (qfcvt_r)
libc_hidden_proto (lrand48_r)
+libc_hidden_proto (wctomb)
libc_hidden_proto (__secure_getenv)
libc_hidden_proto (__strtof_internal)
libc_hidden_proto (__strtod_internal)