summary refs log tree commit diff
path: root/sunrpc/svc.c
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 /sunrpc/svc.c
parenta585ba226b0adfc310a49bb5045c3a3096da3da3 (diff)
downloadglibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.gz
glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.xz
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 'sunrpc/svc.c')
-rw-r--r--sunrpc/svc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sunrpc/svc.c b/sunrpc/svc.c
index 6e7fdeae2a..b7c4f096dd 100644
--- a/sunrpc/svc.c
+++ b/sunrpc/svc.c
@@ -194,7 +194,7 @@ pmap_it:
 
   return TRUE;
 }
-INTDEF (svc_register)
+libc_hidden_def (svc_register)
 
 /* Remove a service program from the callout list. */
 void
@@ -216,7 +216,7 @@ svc_unregister (rpcprog_t prog, rpcvers_t vers)
   /* now unregister the information with the local binder service */
   pmap_unset (prog, vers);
 }
-INTDEF (svc_unregister)
+libc_hidden_def (svc_unregister)
 
 /* ******************* REPLY GENERATION ROUTINES  ************ */
 
@@ -289,6 +289,7 @@ svcerr_auth (SVCXPRT *xprt, enum auth_stat why)
   rply.rjcted_rply.rj_why = why;
   SVC_REPLY (xprt, &rply);
 }
+libc_hidden_def (svcerr_auth)
 
 /* Auth too weak error reply */
 void
@@ -309,6 +310,7 @@ svcerr_noprog (register SVCXPRT *xprt)
   rply.acpted_rply.ar_stat = PROG_UNAVAIL;
   SVC_REPLY (xprt, &rply);
 }
+libc_hidden_def (svcerr_noprog)
 
 /* Program version mismatch error reply */
 void
@@ -325,6 +327,7 @@ svcerr_progvers (register SVCXPRT *xprt, rpcvers_t low_vers,
   rply.acpted_rply.ar_vers.high = high_vers;
   SVC_REPLY (xprt, &rply);
 }
+libc_hidden_def (svcerr_progvers)
 
 /* ******************* SERVER INPUT STUFF ******************* */