remove unnecessary prefs registration since no prefs; minor cleanup
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 25 Aug 2008 17:14:20 +0000 (17:14 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 25 Aug 2008 17:14:20 +0000 (17:14 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26075 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-amqp.c

index 1175b73656a781c0af367744b047d879332cade3..9062a4fe3f74912808bf0529fc3dea29b4045514 100644 (file)
@@ -36,7 +36,6 @@
 #include <epan/packet.h>
 #include <epan/emem.h>
 #include <epan/dissectors/packet-tcp.h>
-#include <epan/prefs.h>
 
 /*  Generic data  */
 
@@ -169,14 +168,6 @@ static int amqp_port = 5672;
 
 #define AMQP_METHOD_TUNNEL_REQUEST                                10
 
-/*  Registration functions for the dissector  */
-
-void
-proto_register_amqp(void);
-
-void
-proto_reg_handoff_amqp(void);
-
 /*  Private functions  */
 
 static void
@@ -5249,7 +5240,6 @@ proto_register_amqp(void)
         "Advanced Message Queueing Protocol", "AMQP", "amqp");
     proto_register_field_array(proto_amqp, hf, array_length(hf));
     proto_register_subtree_array(ett, array_length(ett));
-    prefs_register_protocol(proto_amqp, proto_reg_handoff_amqp);
 }
 
 void