aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sctp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-12 01:30:45 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-12 09:31:38 +0000
commit00a710afe76ddec7295e3413a6f296d714afac8b (patch)
tree6e293c71e461a0ca4cc58841a55d59fceba8ec03 /epan/dissectors/packet-sctp.h
parent619a7a35b7604f49851247543535abcbe677d3eb (diff)
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 <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-sctp.h')
-rw-r--r--epan/dissectors/packet-sctp.h8
1 files changed, 8 insertions, 0 deletions
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
/*