From: guy Date: Sun, 24 Sep 2000 07:44:33 +0000 (+0000) Subject: Define some functions as "static", to match the declarations of those X-Git-Tag: tcpdump-3.5.1~158 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/50c77d8419b7b6e5ef5c3f89d08541ff7ea7d174?ds=inline Define some functions as "static", to match the declarations of those functions as static earlier in the file; some compilers warn about that. --- diff --git a/print-rx.c b/print-rx.c index a26785c0..cb240ceb 100644 --- a/print-rx.c +++ b/print-rx.c @@ -13,7 +13,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.16 2000-09-23 08:54:39 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.17 2000-09-24 07:44:33 guy Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -730,7 +730,7 @@ rx_cache_find(const struct rx_header *rxh, const struct ip *ip, int sport, printf(" \"%s\"", s); \ } -void +static void ack_print(register const u_char *bp, int length) { u_char nAcks; @@ -803,7 +803,7 @@ trunc: * Handle calls to the AFS file service (fs) */ -void +static void fs_print(register const u_char *bp, int length) { int fs_op; @@ -2325,7 +2325,7 @@ trunc: * Handle RX ACK packets. */ -void +static void rx_ack_print(register const u_char *bp, int length) { struct rx_ackPacket *rxa;