summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-05 20:08:28 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-05 20:08:28 +0000
commit9156548dc760756882dc4dd2a3b1ba39e60980c0 (patch)
tree6a2077fb96504803df2ab07d2521ad20dc0b963b /libc/inet/rpc/svc.c
parent7d5029c0b268e944e93f37c578b46e22ea2d739e (diff)
Fix the worst of the damage so it actually compiles now (though, strictly
speaking the entire pile of rpc dung is infect damage). Anyway, hopefully NFS using things may now be able to work... -Erik
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;