diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-11-29 20:15:37 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-11-29 20:15:37 +0000 |
commit | 0266cceef3e00f56bcdf68282a3937a18cd956de (patch) | |
tree | 0bb294b06d441b252bc343133359c316a8ebd29c /epan/dissectors/packet-mtp3.c | |
parent | c33b0ad215b2f8be059b0a00319358547e5bac34 (diff) | |
download | wireshark-0266cceef3e00f56bcdf68282a3937a18cd956de.tar.gz |
Make all enum_val_t's const.
svn path=/trunk/; revision=46292
Diffstat (limited to 'epan/dissectors/packet-mtp3.c')
-rw-r--r-- | epan/dissectors/packet-mtp3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-mtp3.c b/epan/dissectors/packet-mtp3.c index dcb49ff1bb..e7a9d7646e 100644 --- a/epan/dissectors/packet-mtp3.c +++ b/epan/dissectors/packet-mtp3.c @@ -822,15 +822,15 @@ proto_register_mtp3(void) &ett_mtp3_label_opc }; - static enum_val_t mtp3_options[] = { + static const enum_val_t mtp3_options[] = { { "itu", "ITU", ITU_STANDARD }, { "ansi", "ANSI", ANSI_STANDARD }, { "chinese-itu", "Chinese ITU", CHINESE_ITU_STANDARD }, { "japan", "Japan", JAPAN_STANDARD }, - { NULL, NULL, 0 } + { NULL, NULL, 0 } }; - static enum_val_t mtp3_addr_fmt_str_e[] = { + static const enum_val_t mtp3_addr_fmt_str_e[] = { { "decimal", "Decimal", MTP3_ADDR_FMT_DEC }, { "hexadecimal", "Hexadecimal", MTP3_ADDR_FMT_HEX }, { "ni-decimal", "NI-Decimal", MTP3_ADDR_FMT_NI_DEC }, @@ -839,14 +839,14 @@ proto_register_mtp3(void) { NULL, NULL, 0 } }; - static enum_val_t itu_pc_structures[] = { + static const enum_val_t itu_pc_structures[] = { { "unstructured", "Unstructured", ITU_PC_STRUCTURE_NONE}, { "3-8-3", "3-8-3", ITU_PC_STRUCTURE_3_8_3 }, { "4-3-4-3", "4-3-4-3", ITU_PC_STRUCTURE_4_3_4_3 }, { NULL, NULL, 0 } }; - static enum_val_t japan_pc_structures[] = { + static const enum_val_t japan_pc_structures[] = { { "unstructured", "Unstructured", JAPAN_PC_STRUCTURE_NONE}, { "7-4-5", "7-4-5", JAPAN_PC_STRUCTURE_7_4_5 }, { "3-4-4-5", "3-4-4-5", JAPAN_PC_STRUCTURE_3_4_4_5 }, |