]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/sunrpc/svc.h
sunrpc: properly type pc_func callbacks
[karo-tx-linux.git] / include / linux / sunrpc / svc.h
index 11cef5a7bc87a9fe67a4bfbfca9f52e41d0abd88..3b58c55614c7535bfe6c9b8c2e86a0953de04626 100644 (file)
@@ -419,9 +419,9 @@ struct svc_version {
 /*
  * RPC procedure info
  */
-typedef __be32 (*svc_procfunc)(struct svc_rqst *, void *argp, void *resp);
 struct svc_procedure {
-       svc_procfunc            pc_func;        /* process the request */
+       /* process the request: */
+       __be32                  (*pc_func)(struct svc_rqst *);
        kxdrproc_t              pc_decode;      /* XDR decode args */
        kxdrproc_t              pc_encode;      /* XDR encode result */
        kxdrproc_t              pc_release;     /* XDR free result */