X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ftime.h;fp=src%2Fcommon%2Ftime.h;h=87adf17d75d40af2945ef392bb45129bb777d11b;hp=dc3f7634223ed8c79810c7f3c98cd117864a8f27;hb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hpb=729c1fec5976af17fded2f026725a08ef1924290 diff --git a/src/common/time.h b/src/common/time.h index dc3f76342..87adf17d7 100644 --- a/src/common/time.h +++ b/src/common/time.h @@ -13,10 +13,6 @@ #include #include -#if defined(__cplusplus) -extern "C" { -#endif - #define MSEC_PER_SEC 1000ULL #define NSEC_PER_SEC 1000000000ULL #define NSEC_PER_MSEC 1000000ULL @@ -66,8 +62,4 @@ int time_to_iso8601_str(time_t time, char *str, size_t len); int time_to_datetime_str(time_t time, char *str, size_t len); -#if defined(__cplusplus) -} -#endif - #endif /* LTTNG_TIME_H */