X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftime.c;h=ccb5874746b713f3872bee059d6a1998af3495d7;hb=6dca8ba7dec3b31acb7b43f5e4431676acf4e664;hp=90ce4d4b67694bd046b3ddd589bf27e9644d1231;hpb=edf4b93e2f5c849cbec49e987990b3705ea49f6a;p=lttng-tools.git diff --git a/src/common/time.c b/src/common/time.c index 90ce4d4b6..ccb587474 100644 --- a/src/common/time.c +++ b/src/common/time.c @@ -19,13 +19,11 @@ static bool utf8_output_supported; -LTTNG_HIDDEN bool locale_supports_utf8(void) { return utf8_output_supported; } -LTTNG_HIDDEN int timespec_to_ms(struct timespec ts, unsigned long *ms) { unsigned long res, remain_ms; @@ -45,7 +43,6 @@ int timespec_to_ms(struct timespec ts, unsigned long *ms) return 0; } -LTTNG_HIDDEN struct timespec timespec_abs_diff(struct timespec t1, struct timespec t2) { uint64_t ts1 = (uint64_t) t1.tv_sec * (uint64_t) NSEC_PER_SEC + @@ -73,7 +70,6 @@ void __attribute__((constructor)) init_locale_utf8_support(void) } } -LTTNG_HIDDEN int time_to_iso8601_str(time_t time, char *str, size_t len) { int ret = 0; @@ -105,7 +101,6 @@ end: return ret; } -LTTNG_HIDDEN int time_to_datetime_str(time_t time, char *str, size_t len) { int ret = 0;