summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-nv.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-10-25 20:24:31 +0000
committerBill Meier <wmeier@newsguy.com>2008-10-25 20:24:31 +0000
commit05c1929f1d51ef94a5827147aee61d2320434783 (patch)
tree3e6cc68f2dc569fe027498b7deb3d0574cd99c09 /plugins/ethercat/packet-nv.c
parent94c73a47c9e361b6eeeecf53e9b600f9cf1b77a9 (diff)
downloadwireshark-05c1929f1d51ef94a5827147aee61d2320434783.tar.gz
proto_register/proto_reg_handoff; Various small cleanup and bug-fixing
remove unnecessary #include prefs.f and emem.h in a few cases... svn path=/trunk/; revision=26554
Diffstat (limited to 'plugins/ethercat/packet-nv.c')
-rw-r--r--plugins/ethercat/packet-nv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/ethercat/packet-nv.c b/plugins/ethercat/packet-nv.c
index eca2d27de5..49c7663b36 100644
--- a/plugins/ethercat/packet-nv.c
+++ b/plugins/ethercat/packet-nv.c
@@ -44,8 +44,6 @@
#include "packet-nv.h"
-void proto_reg_handoff_nv(void);
-
/* Define the nv proto */
int proto_nv = -1;
@@ -247,7 +245,7 @@ void proto_register_nv(void)
void proto_reg_handoff_nv(void)
{
- static dissector_handle_t nv_handle;
+ dissector_handle_t nv_handle;
nv_handle = create_dissector_handle(dissect_nv, proto_nv);
dissector_add("ecatf.type", 4, nv_handle);