diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-10-25 20:24:31 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-10-25 20:24:31 +0000 |
commit | 05c1929f1d51ef94a5827147aee61d2320434783 (patch) | |
tree | 3e6cc68f2dc569fe027498b7deb3d0574cd99c09 /plugins/irda/packet-sir.c | |
parent | 94c73a47c9e361b6eeeecf53e9b600f9cf1b77a9 (diff) | |
download | wireshark-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/irda/packet-sir.c')
-rw-r--r-- | plugins/irda/packet-sir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/irda/packet-sir.c b/plugins/irda/packet-sir.c index cf4fdb0310..3be593f426 100644 --- a/plugins/irda/packet-sir.c +++ b/plugins/irda/packet-sir.c @@ -49,8 +49,8 @@ /** Protocol handles. */ -dissector_handle_t data_handle; -dissector_handle_t irda_handle; +static dissector_handle_t data_handle; +static dissector_handle_t irda_handle; /** Protocol fields. */ static int proto_sir = -1; @@ -186,7 +186,7 @@ proto_reg_handoff_irsir(void) data_handle = find_dissector("data"); irda_handle = find_dissector("irda"); - if (irda_handle == 0) + if (irda_handle == NULL) irda_handle = data_handle; } |