From 00a710afe76ddec7295e3413a6f296d714afac8b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 12 Jan 2016 01:30:45 -0800 Subject: C symbols need to be in a decorated section when used from C++. The usual drill. Change-Id: I85a34362abc3f9795a7f11371f9d14b752c994b1 Reviewed-on: https://code.wireshark.org/review/13218 Reviewed-by: Guy Harris --- epan/dissectors/packet-sctp.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'epan/dissectors/packet-sctp.h') diff --git a/epan/dissectors/packet-sctp.h b/epan/dissectors/packet-sctp.h index c39c6dd758..65b8b892a2 100644 --- a/epan/dissectors/packet-sctp.h +++ b/epan/dissectors/packet-sctp.h @@ -28,6 +28,10 @@ #include "ws_symbol_export.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define MAXIMUM_NUMBER_OF_TVBS 2048 struct _sctp_info { @@ -117,6 +121,10 @@ typedef struct _sctp_frag_msg { WS_DLL_PUBLIC const value_string chunk_type_values[]; +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* -- cgit v1.2.3