diff options
author | Guy Harris <gharris@sonic.net> | 2021-03-16 11:21:16 +0000 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-03-16 11:21:16 +0000 |
commit | f1f937dd26d66ba21399ffe663547405bad08b9c (patch) | |
tree | ba5c81365f79f94f759226d0b021546305c93572 /epan/oids.h | |
parent | d0e6ad310b6ed00797d56317277f32b58f781739 (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".
(cherry picked from commit 1e1f4e6b5f9a309cef55d4459c8bba40d6acc104)
Diffstat (limited to 'epan/oids.h')
-rw-r--r-- | epan/oids.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/oids.h b/epan/oids.h index 97075a1530..a102c46e96 100644 --- a/epan/oids.h +++ b/epan/oids.h @@ -13,15 +13,15 @@ #ifndef __OIDS_H__ #define __OIDS_H__ -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - #include <epan/ftypes/ftypes.h> #include <epan/prefs.h> #include <epan/wmem/wmem.h> #include "ws_symbol_export.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /** *@file */ |