diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-02-20 07:44:56 +0100 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-02-20 07:45:39 +0100 |
commit | 2086d80fa01978811613f79a480ea808779b9407 (patch) | |
tree | 2e5c4ba5b1112d8be47e3e91b210adb140034c19 /af.c | |
parent | 6457f82aaa95e042eb5cf99e3fd6f518e36f28bd (diff) | |
download | tcpdump-2086d80fa01978811613f79a480ea808779b9407.tar.gz |
af.h/c: make several structs const
Diffstat (limited to 'af.c')
-rw-r--r-- | af.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ static const char rcsid[] _U_ = #include "interface.h" #include "af.h" -struct tok af_values[] = { +const struct tok af_values[] = { { 0, "Reserved"}, { AFNUM_INET, "IPv4"}, { AFNUM_INET6, "IPv6"}, @@ -50,7 +50,7 @@ struct tok af_values[] = { { 0, NULL}, }; -struct tok bsd_af_values[] = { +const struct tok bsd_af_values[] = { { BSD_AFNUM_INET, "IPv4" }, { BSD_AFNUM_NS, "NS" }, { BSD_AFNUM_ISO, "ISO" }, |