]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-arp.c
With .devel, add -g3 for MIPS C and DEC C.
[tcpdump] / print-arp.c
index 905ef4656003a2c4f88b0ec719dc0cc161dd0be8..b5047a0d1075bb92e5eb2b58618fcc2107547fba 100644 (file)
@@ -99,7 +99,7 @@ struct  arp_pkthdr {
 #define TPA(ap) (ar_tpa(ap))
 
 
-struct tok arpop_values[] = {
+static const struct tok arpop_values[] = {
     { ARPOP_REQUEST, "Request" },
     { ARPOP_REPLY, "Reply" },
     { ARPOP_REVREQUEST, "Reverse Request" },
@@ -110,7 +110,7 @@ struct tok arpop_values[] = {
     { 0, NULL }
 };
 
-struct tok arphrd_values[] = {
+static const struct tok arphrd_values[] = {
     { ARPHRD_ETHER, "Ethernet" },
     { ARPHRD_IEEE802, "TokenRing" },
     { ARPHRD_ARCNET, "ArcNet" },