aboutsummaryrefslogtreecommitdiffstats
path: root/epan/value_string.h
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-03-16 02:36:10 -0700
committerGuy Harris <gharris@sonic.net>2021-03-16 02:36:10 -0700
commit1e1f4e6b5f9a309cef55d4459c8bba40d6acc104 (patch)
treeb42c00e67e1f94605a81f74a269407ff72c01c4e /epan/value_string.h
parenta892a161d7dd468143a391acd3f2968e78a0d59e (diff)
Move more headers outside extern "C".
If a header declares a function, or anything else requiring the extern "C" decoration, have it wrap the declaration itself; don't rely on the header itself being included inside extern "C".
Diffstat (limited to 'epan/value_string.h')
-rw-r--r--epan/value_string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/value_string.h b/epan/value_string.h
index 548ec6a7ae..dc88712a82 100644
--- a/epan/value_string.h
+++ b/epan/value_string.h
@@ -13,13 +13,13 @@
#include <glib.h>
+#include "ws_symbol_export.h"
+#include "wmem/wmem.h"
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include "ws_symbol_export.h"
-#include "wmem/wmem.h"
-
/* VALUE TO STRING MATCHING */
typedef struct _value_string {