svn commit: r302552 - head/sys/rpc
Garrett Cooper
ngie at FreeBSD.org
Mon Jul 11 07:17:54 UTC 2016
Author: ngie
Date: Mon Jul 11 07:17:52 2016
New Revision: 302552
URL: https://svnweb.freebsd.org/changeset/base/302552
Log:
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
Modified:
head/sys/rpc/svc.c
Modified: head/sys/rpc/svc.c
==============================================================================
--- head/sys/rpc/svc.c Mon Jul 11 07:07:15 2016 (r302551)
+++ head/sys/rpc/svc.c Mon Jul 11 07:17:52 2016 (r302552)
@@ -841,7 +841,7 @@ svcerr_progvers(struct svc_req *rqstp, r
* 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));
More information about the svn-src-all
mailing list