]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Define some functions as "static", to match the declarations of those
authorguy <guy>
Sun, 24 Sep 2000 07:44:33 +0000 (07:44 +0000)
committerguy <guy>
Sun, 24 Sep 2000 07:44:33 +0000 (07:44 +0000)
functions as static earlier in the file; some compilers warn about that.

print-rx.c

index a26785c08eb4a1523ae6577536a5d5939c845786..cb240cebc77abf9bcbb13afa67a31fdd5291840c 100644 (file)
@@ -13,7 +13,7 @@
 
 #ifndef lint
 static const char rcsid[] =
 
 #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
 #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); \
                }
 
                        printf(" \"%s\"", s); \
                }
 
-void
+static void
 ack_print(register const u_char *bp, int length)
 {
         u_char nAcks;
 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)
  */
 
  * Handle calls to the AFS file service (fs)
  */
 
-void
+static void
 fs_print(register const u_char *bp, int length)
 {
        int fs_op;
 fs_print(register const u_char *bp, int length)
 {
        int fs_op;
@@ -2325,7 +2325,7 @@ trunc:
  * Handle RX ACK packets.
  */
 
  * Handle RX ACK packets.
  */
 
-void
+static void
 rx_ack_print(register const u_char *bp, int length)
 {
        struct rx_ackPacket *rxa;
 rx_ack_print(register const u_char *bp, int length)
 {
        struct rx_ackPacket *rxa;