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 /epan/dissectors/packet-a21.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 'epan/dissectors/packet-a21.h')
-rw-r--r-- | epan/dissectors/packet-a21.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-a21.h b/epan/dissectors/packet-a21.h index 1877aa3bf5..802b650590 100644 --- a/epan/dissectors/packet-a21.h +++ b/epan/dissectors/packet-a21.h @@ -10,12 +10,12 @@ #ifndef __PACKET_A21_H__ #define __PACKET_A21_H__ +#include "ws_symbol_export.h" + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -#include "ws_symbol_export.h" - WS_DLL_PUBLIC void dissect_a21_ie_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree, proto_tree *tree, gint offset, guint8 message_type); |