summaryrefslogtreecommitdiff
path: root/include/rpc
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/rpc
parenta585ba226b0adfc310a49bb5045c3a3096da3da3 (diff)
downloadglibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.gz
* 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/rpc')
-rw-r--r--include/rpc/auth.h1
-rw-r--r--include/rpc/svc.h11
2 files changed, 6 insertions, 6 deletions
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;