summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2012-02-14 12:50:20 +0000
committertijl <tijl@FreeBSD.org>2012-02-14 12:50:20 +0000
commita89581c07f0ad3b2381b871ea3abe6875b4905a6 (patch)
tree4daeb8f425a3d2413fa801077a2a0fd150abf867 /include/rpc
parentb529e734cb0e714064ede8ada785785cf36328b3 (diff)
downloadFreeBSD-src-a89581c07f0ad3b2381b871ea3abe6875b4905a6.zip
FreeBSD-src-a89581c07f0ad3b2381b871ea3abe6875b4905a6.tar.gz
Change some headers such that lang/gcc* ports no longer patch them.
The lang/gcc* ports patch headers where they think something is non-standard. These patched headers override the system headers which means you have to rebuild these ports whenever you do installworld to make sure they contain the latest changes.
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/svc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index d73625e..4a3833c 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
OpenPOWER on IntegriCloud