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/recent.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/recent.h')
-rw-r--r-- | ui/recent.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/recent.h b/ui/recent.h index 5ae5852bb4..bfdd98e7f0 100644 --- a/ui/recent.h +++ b/ui/recent.h @@ -14,14 +14,14 @@ #include <glib.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - #include <stdio.h> #include "epan/timestamp.h" #include "ui/ws_ui_util.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /** @file * Recent user interface settings. * @ingroup main_window_group |