aboutsummaryrefslogtreecommitdiffstats
path: root/ui/taps.h
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-03-16 13:50:13 -0700
committerGuy Harris <gharris@sonic.net>2021-03-16 13:50:13 -0700
commit2820156fbd4b0213ca015216d8cd97c31b503c8c (patch)
treeac6593b99ec9ee226b3ccc323164ce80de158516 /ui/taps.h
parent205e77d404244461f2b311a4285dfeeb55117502 (diff)
Move still *more* headers outside of 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 'ui/taps.h')
-rw-r--r--ui/taps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/taps.h b/ui/taps.h
index dea74b01fb..cd1625adca 100644
--- a/ui/taps.h
+++ b/ui/taps.h
@@ -13,12 +13,12 @@
#include <glib.h>
+#include <epan/tap.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include <epan/tap.h>
-
extern tap_reg_t tap_reg_listener[];
extern const gulong tap_reg_listener_count;