diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-08-08 17:59:32 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-08-08 17:59:32 +0000 |
commit | 2bf572bc41f63cd92fc4a2ea07620b05287ce1ee (patch) | |
tree | e077a181ee0719028ceb5e798c93d8854083f2b7 /epan/dissectors/packet-lge_monitor.c | |
parent | fc83c4cfc7d196e7ea8592846687c4dbee62dc0f (diff) |
Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...
svn path=/trunk/; revision=38413
Diffstat (limited to 'epan/dissectors/packet-lge_monitor.c')
-rw-r--r-- | epan/dissectors/packet-lge_monitor.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/epan/dissectors/packet-lge_monitor.c b/epan/dissectors/packet-lge_monitor.c index f4c885d64b..f96246e7ba 100644 --- a/epan/dissectors/packet-lge_monitor.c +++ b/epan/dissectors/packet-lge_monitor.c @@ -7,17 +7,17 @@ * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -29,13 +29,9 @@ # include "config.h" #endif -#include <stdlib.h> - #include <glib.h> #include <epan/packet.h> -#include <epan/proto.h> - #include <epan/prefs.h> @@ -149,7 +145,7 @@ proto_reg_handoff_lge_monitor(void) void proto_register_lge_monitor(void) -{ +{ module_t *lge_monitor_module; @@ -157,17 +153,17 @@ proto_register_lge_monitor(void) static hf_register_info hf[] = { { &hf_lge_monitor_dir, { "Direction", "lge_monitor.dir", - FT_UINT32, BASE_DEC, VALS(lge_monitor_dir_vals), 0x0, + FT_UINT32, BASE_DEC, VALS(lge_monitor_dir_vals), 0x0, NULL, HFILL } }, { &hf_lge_monitor_prot, { "Protocol Identifier", "lge_monitor.prot", - FT_UINT32, BASE_DEC, VALS(lge_monitor_prot_vals), 0x0, + FT_UINT32, BASE_DEC, VALS(lge_monitor_prot_vals), 0x0, NULL, HFILL } }, { &hf_lge_monitor_length, { "Payload Length", "lge_monitor.length", - FT_UINT32, BASE_DEC, NULL, 0x0, + FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, }; @@ -185,7 +181,7 @@ proto_register_lge_monitor(void) proto_register_subtree_array(ett, array_length(ett)); /* Register a configuration option for port */ - + lge_monitor_module = prefs_register_protocol(proto_lge_monitor, proto_reg_handoff_lge_monitor); prefs_register_uint_preference(lge_monitor_module, "udp.port", |