projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: namespace 'align' macros
[lttng-tools.git]
/
src
/
common
/
time.h
diff --git
a/src/common/time.h
b/src/common/time.h
index b07adc85bb1b4521188080a2b7221160718c944f..87adf17d75d40af2945ef392bb45129bb777d11b 100644
(file)
--- 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")
#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"
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.
*/
* 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.
*/
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);
/*
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.
*/
*
* Returns 0 on success, else -1 on error.
*/
-LTTNG_HIDDEN
int time_to_iso8601_str(time_t time, char *str, size_t len);
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 */
int time_to_datetime_str(time_t time, char *str, size_t len);
#endif /* LTTNG_TIME_H */
This page took
0.026006 seconds
and
4
git commands to generate.