summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-07-25 16:07:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-07-25 16:07:29 +0000
commit439c338eb7ce0da8eec127bc3aee29d407a67dcd (patch)
tree9f038415f8885fd0cb488a3d3fa4f72ba0bb4e5b
parentb47bf389e25fdcae96a565bcfc8867a0a9c70bce (diff)
make function match its prototype.
okay deraadt@
-rw-r--r--usr.sbin/tcpdump/print-ppp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/tcpdump/print-ppp.c b/usr.sbin/tcpdump/print-ppp.c
index 797f70dd651..3c9e850356f 100644
--- a/usr.sbin/tcpdump/print-ppp.c
+++ b/usr.sbin/tcpdump/print-ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ppp.c,v 1.29 2015/11/16 00:16:39 mmcc Exp $ */
+/* $OpenBSD: print-ppp.c,v 1.30 2017/07/25 16:07:28 espie Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
@@ -787,10 +787,7 @@ ppp_ether_if_print(user, h, p)
}
int
-pppoe_if_print(ethertype, p, length, caplen)
- u_short ethertype;
- const u_char *p;
- u_int length, caplen;
+pppoe_if_print(u_short ethertype, const u_char *p, u_int length, u_int caplen)
{
u_int16_t pppoe_sid, pppoe_len;