From 548e46895945dae484c388381687bf7b8e3a5e9c Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Tue, 26 May 2009 16:01:12 +0000 Subject: 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 --- epan/dissectors/packet-ansi_801.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'epan/dissectors/packet-ansi_801.c') 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 } }, }; -- cgit v1.2.3