Minor cleanup
authorBill Meier <wmeier@newsguy.com>
Tue, 22 Apr 2014 14:48:41 +0000 (10:48 -0400)
committerBill Meier <wmeier@newsguy.com>
Tue, 22 Apr 2014 15:00:57 +0000 (15:00 +0000)
commit2d774c6f84c690ee342b3baa0070c3d480df811d
tree2afc04567e7153128190ec3219f928d633af37d6
parent085b37d9b60da7428d97bf75c225eb8eaffaa652
Minor cleanup

- Remove unneeded #includes;
- Move proto_reg_handoff...(() to the end of the file as per convention;
- Use dissector_add_handle() instead of using dissector_add_uint(..., 0, ...);
- #if 0 an unused global function (which caused a [-Wmissing-prototypes] warning);
- Remove an empty proto_reg-handoff...();
- 'if (already_registered)' not required in one case.

Change-Id: I74f267c2721df13eb4d52d7f19a6ded423218a39
Reviewed-on: https://code.wireshark.org/review/1277
Reviewed-by: Bill Meier <wmeier@newsguy.com>
12 files changed:
epan/dissectors/packet-lbm.c
epan/dissectors/packet-lbm.h
epan/dissectors/packet-lbmc.c
epan/dissectors/packet-lbmpdm.c
epan/dissectors/packet-lbmpdmtcp.c
epan/dissectors/packet-lbmr.c
epan/dissectors/packet-lbtrm.c
epan/dissectors/packet-lbtrm.h
epan/dissectors/packet-lbtru.c
epan/dissectors/packet-lbtru.h
epan/dissectors/packet-lbttcp.c
epan/dissectors/packet-lbttcp.h