diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2012-02-14 12:50:20 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2012-02-14 12:50:20 +0000 |
| commit | 265f940acc44916144e8b0485a5504ef88d279c9 (patch) | |
| tree | 4daeb8f425a3d2413fa801077a2a0fd150abf867 /include | |
| parent | 82dd5016bd749d1d9e1531bd1703aebeecceab34 (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/rpc/svc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h index d73625e9303de..4a3833c7cad55 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -226,7 +226,7 @@ struct svc_req { * const SVCXPRT *xprt; * const rpcprog_t prog; * const rpcvers_t vers; - * const void (*dispatch)(); + * const void (*dispatch)(struct svc_req *, SVCXPRT *); * const struct netconfig *nconf; */ @@ -376,7 +376,7 @@ __BEGIN_DECLS extern int svc_create(void (*)(struct svc_req *, SVCXPRT *), const rpcprog_t, const rpcvers_t, const char *); /* - * void (*dispatch)(); -- dispatch routine + * void (*dispatch)(struct svc_req *, SVCXPRT *); * const rpcprog_t prognum; -- program number * const rpcvers_t versnum; -- version number * const char *nettype; -- network type @@ -392,7 +392,7 @@ extern SVCXPRT *svc_tp_create(void (*)(struct svc_req *, SVCXPRT *), const rpcprog_t, const rpcvers_t, const struct netconfig *); /* - * void (*dispatch)(); -- dispatch routine + * void (*dispatch)(struct svc_req *, SVCXPRT *); * const rpcprog_t prognum; -- program number * const rpcvers_t versnum; -- version number * const struct netconfig *nconf; -- netconfig structure |
