summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/svc.c')
-rw-r--r--libc/inet/rpc/svc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c
index f8042cf3a..059da5cc6 100644
--- a/libc/inet/rpc/svc.c
+++ b/libc/inet/rpc/svc.c
@@ -132,12 +132,8 @@ SVCXPRT *xprt;
* The dispatch routine will be called when a rpc request for this
* program number comes in.
*/
-bool_t svc_register(xprt, prog, vers, dispatch, protocol)
-SVCXPRT *xprt;
-u_long prog;
-u_long vers;
-void (*dispatch) ();
-int protocol;
+bool_t svc_register (SVCXPRT *xprt, u_long prog,
+ u_long vers, __dispatch_fn_t dispatch, u_long protocol)
{
struct svc_callout *prev;
register struct svc_callout *s;