diff options
Diffstat (limited to 'libc/inet/rpc/svc.c')
-rw-r--r-- | libc/inet/rpc/svc.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c index 253c06379..38811f5b7 100644 --- a/libc/inet/rpc/svc.c +++ b/libc/inet/rpc/svc.c @@ -47,15 +47,15 @@ #include <sys/poll.h> /* Experimentally off - libc_hidden_proto(ffs) */ -libc_hidden_proto(pmap_set) -libc_hidden_proto(pmap_unset) -libc_hidden_proto(_authenticate) -libc_hidden_proto(_rpc_dtablesize) +/* libc_hidden_proto(pmap_set) */ +/* libc_hidden_proto(pmap_unset) */ +/* libc_hidden_proto(_authenticate) */ +/* libc_hidden_proto(_rpc_dtablesize) */ /* used by svc_[max_]pollfd */ -libc_hidden_proto(__rpc_thread_svc_pollfd) -libc_hidden_proto(__rpc_thread_svc_max_pollfd) +/* libc_hidden_proto(__rpc_thread_svc_pollfd) */ +/* libc_hidden_proto(__rpc_thread_svc_max_pollfd) */ /* used by svc_fdset */ -libc_hidden_proto(__rpc_thread_svc_fdset) +/* libc_hidden_proto(__rpc_thread_svc_fdset) */ #ifdef __UCLIBC_HAS_THREADS__ #define xports (*(SVCXPRT ***)&RPC_THREAD_VARIABLE(svc_xports_s)) @@ -85,7 +85,7 @@ static struct svc_callout *svc_head; /* *************** SVCXPRT related stuff **************** */ /* Activate a transport handle. */ -libc_hidden_proto(xprt_register) +/* libc_hidden_proto(xprt_register) */ void xprt_register (SVCXPRT *xprt) { @@ -129,7 +129,7 @@ xprt_register (SVCXPRT *xprt) libc_hidden_def(xprt_register) /* De-activate a transport handle. */ -libc_hidden_proto(xprt_unregister) +/* libc_hidden_proto(xprt_unregister) */ void xprt_unregister (SVCXPRT *xprt) { @@ -175,7 +175,7 @@ done: /* Add a service program to the callout list. The dispatch routine will be called when a rpc request for this program number comes in. */ -libc_hidden_proto(svc_register) +/* libc_hidden_proto(svc_register) */ bool_t svc_register (SVCXPRT * xprt, rpcprog_t prog, rpcvers_t vers, void (*dispatch) (struct svc_req *, SVCXPRT *), @@ -210,7 +210,7 @@ pmap_it: libc_hidden_def(svc_register) /* Remove a service program from the callout list. */ -libc_hidden_proto(svc_unregister) +/* libc_hidden_proto(svc_unregister) */ void svc_unregister (rpcprog_t prog, rpcvers_t vers) { @@ -235,7 +235,7 @@ libc_hidden_def(svc_unregister) /* ******************* REPLY GENERATION ROUTINES ************ */ /* Send a reply to an rpc request */ -libc_hidden_proto(svc_sendreply) +/* libc_hidden_proto(svc_sendreply) */ bool_t svc_sendreply (register SVCXPRT *xprt, xdrproc_t xdr_results, caddr_t xdr_location) @@ -266,7 +266,7 @@ svcerr_noproc (register SVCXPRT *xprt) } /* Can't decode args error reply */ -libc_hidden_proto(svcerr_decode) +/* libc_hidden_proto(svcerr_decode) */ void svcerr_decode (register SVCXPRT *xprt) { @@ -294,7 +294,7 @@ svcerr_systemerr (register SVCXPRT *xprt) } /* Authentication error reply */ -libc_hidden_proto(svcerr_auth) +/* libc_hidden_proto(svcerr_auth) */ void svcerr_auth (SVCXPRT *xprt, enum auth_stat why) { @@ -316,7 +316,7 @@ svcerr_weakauth (SVCXPRT *xprt) } /* Program unavailable error reply */ -libc_hidden_proto(svcerr_noprog) +/* libc_hidden_proto(svcerr_noprog) */ void svcerr_noprog (register SVCXPRT *xprt) { @@ -331,7 +331,7 @@ svcerr_noprog (register SVCXPRT *xprt) libc_hidden_def(svcerr_noprog) /* Program version mismatch error reply */ -libc_hidden_proto(svcerr_progvers) +/* libc_hidden_proto(svcerr_progvers) */ void svcerr_progvers (register SVCXPRT *xprt, rpcvers_t low_vers, rpcvers_t high_vers) @@ -366,7 +366,7 @@ libc_hidden_def(svcerr_progvers) * is mallocated in kernel land. */ -libc_hidden_proto(svc_getreq_common) +/* libc_hidden_proto(svc_getreq_common) */ void svc_getreq_common (const int fd) { @@ -458,7 +458,7 @@ svc_getreq_common (const int fd) } libc_hidden_def(svc_getreq_common) -libc_hidden_proto(svc_getreqset) +/* libc_hidden_proto(svc_getreqset) */ void svc_getreqset (fd_set *readfds) { @@ -476,7 +476,7 @@ svc_getreqset (fd_set *readfds) } libc_hidden_def(svc_getreqset) -libc_hidden_proto(svc_getreq) +/* libc_hidden_proto(svc_getreq) */ void svc_getreq (int rdfds) { @@ -488,7 +488,7 @@ svc_getreq (int rdfds) } libc_hidden_def(svc_getreq) -libc_hidden_proto(svc_getreq_poll) +/* libc_hidden_proto(svc_getreq_poll) */ void svc_getreq_poll (struct pollfd *pfdp, int pollretval) { |