aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stat_tap_ui.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/stat_tap_ui.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/stat_tap_ui.h')
-rw-r--r--epan/stat_tap_ui.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h
index ef5425260c..19a0fb9015 100644
--- a/epan/stat_tap_ui.h
+++ b/epan/stat_tap_ui.h
@@ -13,6 +13,12 @@
#include "ws_symbol_export.h"
+#include <epan/params.h>
+#include <epan/stat_groups.h>
+#include <epan/packet_info.h>
+#include <epan/tap.h>
+#include <epan/wmem/wmem.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@@ -21,12 +27,6 @@ extern "C" {
* Parameters for taps.
*/
-#include <epan/params.h>
-#include <epan/stat_groups.h>
-#include <epan/packet_info.h>
-#include <epan/tap.h>
-#include <epan/wmem/wmem.h>
-
typedef enum {
PARAM_UINT, /* Unused? */
PARAM_STRING, /* Unused? */