summaryrefslogtreecommitdiff
path: root/print-sunrpc.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-03-26 09:58:13 +0100
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-03-26 09:58:13 +0100
commitea256d91381ac0ebb3d159511b3e78d4dff0b917 (patch)
tree173bb24ce7ee388fe92556b7956a02f835dfcf93 /print-sunrpc.c
parentcbaf0fdfb3b65bda43e119cb5dabf2dcce7454d4 (diff)
downloadtcpdump-ea256d91381ac0ebb3d159511b3e78d4dff0b917.tar.gz
print-sunrpc: fix old-style function definition
Diffstat (limited to 'print-sunrpc.c')
-rw-r--r--print-sunrpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-sunrpc.c b/print-sunrpc.c
index ae350852..16cc2712 100644
--- a/print-sunrpc.c
+++ b/print-sunrpc.c
@@ -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;