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
This commit is contained in:
Enji Cooper 2016-07-11 07:17:52 +00:00
parent 7d3db23544
commit 462984cb6f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302552

View File

@ -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));