summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;