aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-infiniband_sdp.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-15 23:44:12 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-15 23:44:12 +0000
commitc45475ab45cdca7e8ea9de3c88bc07769a0983cd (patch)
treea076d8008305c9772404f613d49e9914044f5451 /epan/dissectors/packet-infiniband_sdp.c
parent59dddc25ec39be11e00cfe1ff0a839f63d75a26f (diff)
Fix [-Wmissing-prototypes]
svn path=/trunk/; revision=54135
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... */