]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
wireshark: Drop needless declaration of proto_register_libvirt() and proto_reg_handof...
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Oct 2025 08:34:51 +0000 (10:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 14 Oct 2025 13:08:23 +0000 (15:08 +0200)
Both proto_register_libvirt() and proto_reg_handoff_libvirt() are
declared in packet-libvirt.h which is included from plugin.c.
There's no need to provide another declaration in plugin.c.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tools/wireshark/src/plugin.c

index 9a83f2ca07b14e43a4d930c32ed96f97f29b7abb..19b25e7b1a3182636d188cf912f3be811c7da37f 100644 (file)
@@ -72,9 +72,6 @@ void plugin_register(void)
 
 #else /* WIRESHARK_VERSION >= 2009000 */
 
-void proto_register_libvirt(void);
-void proto_reg_handoff_libvirt(void);
-
 WS_DLL_PUBLIC_DEF const gchar plugin_version[] = PLUGIN_VERSION;
 WS_DLL_PUBLIC_DEF const int plugin_want_major = WIRESHARK_VERSION_MAJOR;
 WS_DLL_PUBLIC_DEF const int plugin_want_minor = WIRESHARK_VERSION_MINOR;