From 677301ec6b07315b54de73d2542840f27c2c7e03 Mon Sep 17 00:00:00 2001 From: muench Date: Tue, 15 Feb 2000 12:40:20 +0000 Subject: [PATCH] Make compile work with the "new" linux rpcgen --- hadaq/agent.c | 15 +++++++++++++++ hadaq/online.c | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/hadaq/agent.c b/hadaq/agent.c index accc519..780565a 100644 --- a/hadaq/agent.c +++ b/hadaq/agent.c @@ -51,6 +51,11 @@ int *rpcworker_start_1(RpcWorker_startArgs * args, CLIENT * cl) return &retVal; } +int * rpcworker_start_1_svc(RpcWorker_startArgs *dummy, struct svc_req *x) +{ + return rpcworker_start_1(dummy, NULL); +} + char **rpcworker_status_1(int *id, CLIENT * cl) { static char *retVal; @@ -59,6 +64,11 @@ char **rpcworker_status_1(int *id, CLIENT * cl) return &retVal; } +char ** rpcworker_status_1_svc(int *dummy, struct svc_req *x) +{ + return rpcworker_status_1(dummy, NULL); +} + int *rpcworker_stop_1(int *id, CLIENT * cl) { static int retVal; @@ -69,3 +79,8 @@ int *rpcworker_stop_1(int *id, CLIENT * cl) return &retVal; } + +int * rpcworker_stop_1_svc(int *dummy, struct svc_req *x) +{ + return rpcworker_stop_1(dummy, NULL); +} diff --git a/hadaq/online.c b/hadaq/online.c index 9d31318..ef986b4 100644 --- a/hadaq/online.c +++ b/hadaq/online.c @@ -71,3 +71,8 @@ rpcevt *onlineevt_1(void *dummy, CLIENT * cl) return &result; } + +rpcevt * onlineevt_1_svc(void *dummy, struct svc_req *x) +{ + return onlineevt_1(dummy, NULL); +} -- 2.43.0