aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-a21.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-20 16:57:24 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-21 00:58:07 +0000
commit1df0d9cbfa5af834495c28e46c6ed2d267e05e2f (patch)
tree91ce3f9cc03222cfd8c9a0534fd2a4af784352a9 /epan/dissectors/packet-a21.h
parent97323982a44044e4719368bd4933e3174b8c0c33 (diff)
Include "ws_symbol_export.h" to make sure WS_DLL_PUBLIC is defined.
Wrap the declaration for C++ while we're at it. Change-Id: Ifcc1b47bab139f5fb8da8c3dd4f20b1ebb99739e Reviewed-on: https://code.wireshark.org/review/5418 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-a21.h')
-rw-r--r--epan/dissectors/packet-a21.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/dissectors/packet-a21.h b/epan/dissectors/packet-a21.h
index e5cbec3a48..d51c846520 100644
--- a/epan/dissectors/packet-a21.h
+++ b/epan/dissectors/packet-a21.h
@@ -22,7 +22,17 @@
#ifndef __PACKET_A21_H__
#define __PACKET_A21_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include "ws_symbol_export.h"
+
WS_DLL_PUBLIC
void dissect_a21_ie_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree, proto_tree *tree, gint offset, guint8 message_type);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif