diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-05-27 20:33:22 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-05-28 15:40:39 +0000 |
commit | 48ce5629b0daaf0246f55d219d8d1ea8fd5c9699 (patch) | |
tree | 1b4e1a31ff45bccebe0bdd5ee7a3d25974ec43d3 /epan/dissectors/packet-bmc.c | |
parent | e5705070c8c170ef35e92abf22f18828a9db2120 (diff) |
Minor: use VALS macro (as per convention); Add editor modelines; Do whitespace changes.
Change-Id: I6007c1b2098d06e4a892474dd07f06a7538f94ef
Reviewed-on: https://code.wireshark.org/review/1843
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-bmc.c')
-rw-r--r-- | epan/dissectors/packet-bmc.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bmc.c b/epan/dissectors/packet-bmc.c index 68134f8391..cde5f729dd 100644 --- a/epan/dissectors/packet-bmc.c +++ b/epan/dissectors/packet-bmc.c @@ -255,7 +255,7 @@ proto_register_bmc(void) static hf_register_info hf[] = { { &hf_bmc_message_type, { "Message Type", "bmc.message_type", - FT_UINT8, BASE_DEC, message_type_vals, 0, + FT_UINT8, BASE_DEC, VALS(message_type_vals), 0, NULL, HFILL } }, { &hf_bmc_message_id, @@ -297,7 +297,7 @@ proto_register_bmc(void) }, { &hf_bmc_message_description_type, { "Message Description Type", "bmc.message_description_type", - FT_UINT8, BASE_DEC, message_description_type_vals, 0, + FT_UINT8, BASE_DEC, VALS(message_description_type_vals), 0, NULL, HFILL } }, { &hf_bmc_offset_to_ctch_bs_index_of_first_transmission, @@ -343,3 +343,16 @@ proto_register_bmc(void) proto_register_field_array(proto_bmc, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } + +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 4 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * vi: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: + */ |