aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-infiniband_sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-infiniband_sdp.c')
-rw-r--r--epan/dissectors/packet-infiniband_sdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-infiniband_sdp.c b/epan/dissectors/packet-infiniband_sdp.c
index ad7a9c5f19..67966767dc 100644
--- a/epan/dissectors/packet-infiniband_sdp.c
+++ b/epan/dissectors/packet-infiniband_sdp.c
@@ -50,13 +50,13 @@
#include "packet-infiniband.h"
+void proto_register_ib_sdp(void);
+void proto_reg_handoff_ib_sdp(void);
+
/* If the service-id is non-zero after being ANDed with the following mask then
this is SDP traffic */
#define SERVICE_ID_MASK 0x0000000000010000
-/* Forward declaration we need below (for using proto_reg_handoff as a prefs callback) */
-void proto_reg_handoff_ib_sdp(void);
-
static int proto_infiniband = -1; /* we'll need the Infiniband protocol index sometimes, so keep it here */
/* Initialize the protocol and registered fields... */