X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Frquotad%2Frquota_svc.c;fp=utils%2Frquotad%2Frquota_svc.c;h=bd2038f2710476a605458c160f57f3f1268c60bf;hp=0785551472aa6e1f3f8109b814b321347c709e44;hb=66f9d8251c92124e46a209c47e5c0f7d3a0c4e6e;hpb=9f5b40b7a68fe0a2648565ecbd4b08bf60287130 diff --git a/utils/rquotad/rquota_svc.c b/utils/rquotad/rquota_svc.c index 0785551..bd2038f 100644 --- a/utils/rquotad/rquota_svc.c +++ b/utils/rquotad/rquota_svc.c @@ -47,15 +47,6 @@ #define SIG_PF void(*)(int) #endif -extern getquota_rslt *rquotaproc_getquota_1(getquota_args *argp, - struct svc_req *rqstp); -extern getquota_rslt *rquotaproc_getactivequota_1(getquota_args *argp, - struct svc_req *rqstp); -extern getquota_rslt *rquotaproc_getquota_2(ext_getquota_args *argp, - struct svc_req *rqstp); -extern getquota_rslt *rquotaproc_getactivequota_2(ext_getquota_args *argp, - struct svc_req *rqstp); - static struct option longopts[] = { { "help", 0, 0, 'h' }, @@ -113,13 +104,13 @@ static void rquotaprog_1(struct svc_req *rqstp, register SVCXPRT *transp) case RQUOTAPROC_GETQUOTA: xdr_argument = (xdrproc_t) xdr_getquota_args; xdr_result = (xdrproc_t) xdr_getquota_rslt; - local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_1; + local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_1_svc; break; case RQUOTAPROC_GETACTIVEQUOTA: xdr_argument = (xdrproc_t) xdr_getquota_args; xdr_result = (xdrproc_t) xdr_getquota_rslt; - local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_1; + local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_1_svc; break; default: @@ -188,13 +179,13 @@ static void rquotaprog_2(struct svc_req *rqstp, register SVCXPRT *transp) case RQUOTAPROC_GETQUOTA: xdr_argument = (xdrproc_t) xdr_ext_getquota_args; xdr_result = (xdrproc_t) xdr_getquota_rslt; - local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_2; + local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_2_svc; break; case RQUOTAPROC_GETACTIVEQUOTA: xdr_argument = (xdrproc_t) xdr_ext_getquota_args; xdr_result = (xdrproc_t) xdr_getquota_rslt; - local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_2; + local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_2_svc; break; default: