From 624a038ee4ddfa076c1c41a4db30bd84ee47dad6 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 1 Aug 2008 07:32:47 +0000 Subject: Add missing prototypes. --- cpukit/librpc/src/rpc/svc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cpukit/librpc') diff --git a/cpukit/librpc/src/rpc/svc.c b/cpukit/librpc/src/rpc/svc.c index bf305bce80..4b84b7b4ec 100644 --- a/cpukit/librpc/src/rpc/svc.c +++ b/cpukit/librpc/src/rpc/svc.c @@ -67,11 +67,12 @@ struct svc_callout { struct svc_callout *sc_next; u_long sc_prog; u_long sc_vers; - void (*sc_dispatch)(); + void (*sc_dispatch)(struct svc_req *r, SVCXPRT *xprt); }; #define svc_head (rtems_rpc_task_variables->svc_svc_head) -static struct svc_callout *svc_find(); +static struct svc_callout *svc_find(u_long prog, u_long vers, + struct svc_callout **prev); /* *************** SVCXPRT related stuff **************** */ @@ -160,7 +161,7 @@ svc_register( SVCXPRT *xprt, u_long prog, u_long vers, - void (*dispatch)(), + void (*dispatch)(struct svc_req *r, SVCXPRT *xprt), int protocol ) { struct svc_callout *prev; -- cgit v1.2.3