summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/svc.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 07:32:47 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 07:32:47 +0000
commit624a038ee4ddfa076c1c41a4db30bd84ee47dad6 (patch)
treeb67a6b1f7ec3ded30e285fd2f47d21418e6434b5 /cpukit/librpc/src/rpc/svc.c
parentdd1fef80f4dc39535e33fbe4f16d34a024c08c68 (diff)
downloadrtems-624a038ee4ddfa076c1c41a4db30bd84ee47dad6.tar.bz2
Add missing prototypes.
Diffstat (limited to 'cpukit/librpc/src/rpc/svc.c')
-rw-r--r--cpukit/librpc/src/rpc/svc.c7
1 files changed, 4 insertions, 3 deletions
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;