]> The Tcpdump Group git mirrors - tcpdump/commitdiff
print-sunrpc: fix old-style function definition
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 26 Mar 2014 08:58:13 +0000 (09:58 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 26 Mar 2014 08:58:13 +0000 (09:58 +0100)
print-sunrpc.c

index ae3508528cced71d0bd9909e170ad1dbf4f2aadf..16cc2712c486ae71ea52f508154c01d4c84a8156 100644 (file)
@@ -232,8 +232,7 @@ sunrpcrequest_print(netdissect_options *ndo, register const u_char *bp,
 }
 
 static char *
-progstr(prog)
-       u_int32_t prog;
+progstr(u_int32_t prog)
 {
 #if defined(HAVE_GETRPCBYNUMBER) && defined(HAVE_RPC_RPC_H)
        register struct rpcent *rp;