diff options
author | Guy Harris <gharris@sonic.net> | 2021-03-16 04:33:00 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-03-16 04:33:00 -0700 |
commit | e434d404d0db719440cc911729d225417a49b4f4 (patch) | |
tree | d74e39abf82d29dbed78ec8d109dc0e4e0c4e138 /wsutil/time_util.h | |
parent | 1e1f4e6b5f9a309cef55d4459c8bba40d6acc104 (diff) |
Move even 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".
Diffstat (limited to 'wsutil/time_util.h')
-rw-r--r-- | wsutil/time_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/time_util.h b/wsutil/time_util.h index 99d97d662e..40914d29a5 100644 --- a/wsutil/time_util.h +++ b/wsutil/time_util.h @@ -12,12 +12,12 @@ #include "ws_symbol_export.h" +#include <time.h> + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -#include <time.h> - /** Converts a broken down date representation, relative to UTC, * to a timestamp */ |