summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
commit21730caa6647f645974e132ca8afec79b4eeab2b (patch)
tree6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/inet/rpc/svc.c
parent35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff)
trim Experimentally off and uncommented hidden
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/rpc/svc.c')
-rw-r--r--libc/inet/rpc/svc.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c
index 38811f5b7..0f5300c8b 100644
--- a/libc/inet/rpc/svc.c
+++ b/libc/inet/rpc/svc.c
@@ -46,16 +46,8 @@
#include <rpc/pmap_clnt.h>
#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) */
/* used by 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) */
#ifdef __UCLIBC_HAS_THREADS__
#define xports (*(SVCXPRT ***)&RPC_THREAD_VARIABLE(svc_xports_s))
@@ -85,7 +77,6 @@ static struct svc_callout *svc_head;
/* *************** SVCXPRT related stuff **************** */
/* Activate a transport handle. */
-/* libc_hidden_proto(xprt_register) */
void
xprt_register (SVCXPRT *xprt)
{
@@ -129,7 +120,6 @@ xprt_register (SVCXPRT *xprt)
libc_hidden_def(xprt_register)
/* De-activate a transport handle. */
-/* libc_hidden_proto(xprt_unregister) */
void
xprt_unregister (SVCXPRT *xprt)
{
@@ -175,7 +165,6 @@ 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) */
bool_t
svc_register (SVCXPRT * xprt, rpcprog_t prog, rpcvers_t vers,
void (*dispatch) (struct svc_req *, SVCXPRT *),
@@ -210,7 +199,6 @@ pmap_it:
libc_hidden_def(svc_register)
/* Remove a service program from the callout list. */
-/* libc_hidden_proto(svc_unregister) */
void
svc_unregister (rpcprog_t prog, rpcvers_t vers)
{
@@ -235,7 +223,6 @@ libc_hidden_def(svc_unregister)
/* ******************* REPLY GENERATION ROUTINES ************ */
/* Send a reply to an rpc request */
-/* libc_hidden_proto(svc_sendreply) */
bool_t
svc_sendreply (register SVCXPRT *xprt, xdrproc_t xdr_results,
caddr_t xdr_location)
@@ -266,7 +253,6 @@ svcerr_noproc (register SVCXPRT *xprt)
}
/* Can't decode args error reply */
-/* libc_hidden_proto(svcerr_decode) */
void
svcerr_decode (register SVCXPRT *xprt)
{
@@ -294,7 +280,6 @@ svcerr_systemerr (register SVCXPRT *xprt)
}
/* Authentication error reply */
-/* libc_hidden_proto(svcerr_auth) */
void
svcerr_auth (SVCXPRT *xprt, enum auth_stat why)
{
@@ -316,7 +301,6 @@ svcerr_weakauth (SVCXPRT *xprt)
}
/* Program unavailable error reply */
-/* libc_hidden_proto(svcerr_noprog) */
void
svcerr_noprog (register SVCXPRT *xprt)
{
@@ -331,7 +315,6 @@ svcerr_noprog (register SVCXPRT *xprt)
libc_hidden_def(svcerr_noprog)
/* Program version mismatch error reply */
-/* libc_hidden_proto(svcerr_progvers) */
void
svcerr_progvers (register SVCXPRT *xprt, rpcvers_t low_vers,
rpcvers_t high_vers)
@@ -366,7 +349,6 @@ libc_hidden_def(svcerr_progvers)
* is mallocated in kernel land.
*/
-/* libc_hidden_proto(svc_getreq_common) */
void
svc_getreq_common (const int fd)
{
@@ -458,7 +440,6 @@ svc_getreq_common (const int fd)
}
libc_hidden_def(svc_getreq_common)
-/* libc_hidden_proto(svc_getreqset) */
void
svc_getreqset (fd_set *readfds)
{
@@ -476,7 +457,6 @@ svc_getreqset (fd_set *readfds)
}
libc_hidden_def(svc_getreqset)
-/* libc_hidden_proto(svc_getreq) */
void
svc_getreq (int rdfds)
{
@@ -488,7 +468,6 @@ svc_getreq (int rdfds)
}
libc_hidden_def(svc_getreq)
-/* libc_hidden_proto(svc_getreq_poll) */
void
svc_getreq_poll (struct pollfd *pfdp, int pollretval)
{