diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2016-07-11 07:17:52 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2016-07-11 07:17:52 +0000 |
commit | 462984cb6f024aef63b0cbd34a1337ef85356607 (patch) | |
tree | 569929e52039c77786c3df8b2370a6419ca90121 /sys/rpc/svc.c | |
parent | 7d3db23544c4be2ea6acd6f6f1a1e48179be1c28 (diff) | |
download | src-462984cb6f024aef63b0cbd34a1337ef85356607.tar.gz src-462984cb6f024aef63b0cbd34a1337ef85356607.zip |
Convert `svc_xprt_alloc(..)` and `svc_xprt_free(..)`'s prototypes to
ANSI C style prototypes
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=302552
Diffstat (limited to 'sys/rpc/svc.c')
-rw-r--r-- | sys/rpc/svc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/rpc/svc.c b/sys/rpc/svc.c index 3e682b96ac1e..ea0024bc0b11 100644 --- a/sys/rpc/svc.c +++ b/sys/rpc/svc.c @@ -841,7 +841,7 @@ svcerr_progvers(struct svc_req *rqstp, rpcvers_t low_vers, rpcvers_t high_vers) * parameters. */ SVCXPRT * -svc_xprt_alloc() +svc_xprt_alloc(void) { SVCXPRT *xprt; SVCXPRT_EXT *ext; @@ -858,8 +858,7 @@ svc_xprt_alloc() * Free a server transport structure. */ void -svc_xprt_free(xprt) - SVCXPRT *xprt; +svc_xprt_free(SVCXPRT *xprt) { mem_free(xprt->xp_p3, sizeof(SVCXPRT_EXT)); |