diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-04-22 10:48:41 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-04-22 15:00:57 +0000 |
commit | 2d774c6f84c690ee342b3baa0070c3d480df811d (patch) | |
tree | 2afc04567e7153128190ec3219f928d633af37d6 /epan/dissectors/packet-lbtrm.h | |
parent | 085b37d9b60da7428d97bf75c225eb8eaffaa652 (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-lbtrm.h')
-rw-r--r-- | epan/dissectors/packet-lbtrm.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/epan/dissectors/packet-lbtrm.h b/epan/dissectors/packet-lbtrm.h index b9ab1d6acb..5d14d980c0 100644 --- a/epan/dissectors/packet-lbtrm.h +++ b/epan/dissectors/packet-lbtrm.h @@ -25,13 +25,6 @@ #ifndef PACKET_LBTRM_H_INCLUDED #define PACKET_LBTRM_H_INCLUDED -#include "config.h" -#include <glib.h> -#include <epan/address.h> -#include <epan/value_string.h> -#include <epan/wmem/wmem.h> -#include "packet-lbm.h" - typedef struct { address source_address; |