X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ac2a34f19c0fa5b25dedcf6646a44f66c19882ea..dff33accfb9b04f26f93ff3d9d34f2aec5cf5002:/print-arp.c diff --git a/print-arp.c b/print-arp.c index 905ef465..b5047a0d 100644 --- a/print-arp.c +++ b/print-arp.c @@ -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" },