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=b07adc85bb1b4521188080a2b7221160718c944f;hb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;hpb=a4705d55c62276cb913c64832f383e27aa72668b diff --git a/src/common/time.h b/src/common/time.h index b07adc85b..87adf17d7 100644 --- a/src/common/time.h +++ b/src/common/time.h @@ -29,7 +29,6 @@ #define ISO8601_STR_LEN sizeof("YYYYmmddTHHMMSS+HHMM") #define DATETIME_STR_LEN sizeof("YYYYmmdd-HHMMSS") -LTTNG_HIDDEN bool locale_supports_utf8(void); #define NSEC_UNIT "ns" @@ -45,13 +44,11 @@ bool locale_supports_utf8(void); * Returns 0 on success, else -1 on error. errno is set to EOVERFLOW if * input would overflow the output in milliseconds. */ -LTTNG_HIDDEN int timespec_to_ms(struct timespec ts, unsigned long *ms); /* * timespec_abs_diff: Absolute difference between timespec. */ -LTTNG_HIDDEN struct timespec timespec_abs_diff(struct timespec ts_a, struct timespec ts_b); /* @@ -61,10 +58,8 @@ struct timespec timespec_abs_diff(struct timespec ts_a, struct timespec ts_b); * * Returns 0 on success, else -1 on error. */ -LTTNG_HIDDEN int time_to_iso8601_str(time_t time, char *str, size_t len); -LTTNG_HIDDEN int time_to_datetime_str(time_t time, char *str, size_t len); #endif /* LTTNG_TIME_H */