From 439c338eb7ce0da8eec127bc3aee29d407a67dcd Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 25 Jul 2017 16:07:29 +0000 Subject: make function match its prototype. okay deraadt@ --- usr.sbin/tcpdump/print-ppp.c | 7 ++----- 1 file 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; -- cgit v1.2.3