diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-05-26 16:01:12 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-05-26 16:01:12 +0000 |
commit | 548e46895945dae484c388381687bf7b8e3a5e9c (patch) | |
tree | 7f0f3903258126f362c4ffd52388e8d041d38d5d /epan/dissectors/packet-ansi_801.c | |
parent | a3f8b9e4c05b86c2bcd2d20f6c0c0c2d7c6f21d0 (diff) |
Misc dissector cleanup:
- Make some fcns & vars static
- hf[] blurbs: "" and repeated text --> NULL
- Move proto_register & proto_reg_handoff to end of source
- packet-catapult-dct2000: simplify proto_reg_handoff
- Use consistent indentation
svn path=/trunk/; revision=28488
Diffstat (limited to 'epan/dissectors/packet-ansi_801.c')
-rw-r--r-- | epan/dissectors/packet-ansi_801.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-ansi_801.c b/epan/dissectors/packet-ansi_801.c index 7800c13760..fd7df213d8 100644 --- a/epan/dissectors/packet-ansi_801.c +++ b/epan/dissectors/packet-ansi_801.c @@ -93,7 +93,7 @@ static const guint8 global_bit_mask[] = { 0xff }; -guint64 +static guint64 ansi_801_tvb_get_bits(tvbuff_t *tvb, guint32 *offset_p, guint8 *bit_offset_p, guint8 num_bits) { guint64 bits; @@ -2504,37 +2504,37 @@ proto_register_ansi_801(void) { &hf_ansi_801_for_req_type, { "Forward Request Type", "ansi_801.for_req_type", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, { &hf_ansi_801_for_rsp_type, { "Forward Response Type", "ansi_801.for_rsp_type", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, { &hf_ansi_801_rev_req_type, { "Reverse Request Type", "ansi_801.rev_req_type", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, { &hf_ansi_801_rev_rsp_type, { "Reverse Response Type", "ansi_801.rev_rsp_type", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, { &hf_ansi_801_for_sess_tag, { "Forward Session Tag", "ansi_801.for_sess_tag", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, { &hf_ansi_801_rev_sess_tag, { "Reverse Session Tag", "ansi_801.rev_sess_tag", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, { &hf_ansi_801_sess_tag, { "Session Tag", "ansi_801.sess_tag", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, }; |