diff options
author | Guy Harris <gharris@sonic.net> | 2021-03-16 13:50:13 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-03-16 13:50:13 -0700 |
commit | 2820156fbd4b0213ca015216d8cd97c31b503c8c (patch) | |
tree | ac6593b99ec9ee226b3ccc323164ce80de158516 /ui/taps.h | |
parent | 205e77d404244461f2b311a4285dfeeb55117502 (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |