diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-08 22:37:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-08 22:37:45 +0200 |
commit | 5ab99e076c72a44f2e174e48abd9945cd0180d76 (patch) | |
tree | 7d766229e37a2a2cd26ee77001ffd9f45c31ddcc /src/shared/time-util.h | |
parent | 5329ab10ffaf5b4a3fd6ebd9380b1ec09d05cfc8 (diff) |
time: functions named "internal" really shouldn't be exported
Also, let's try to make function names descriptive, instead of using
bools for flags.
Diffstat (limited to 'src/shared/time-util.h')
-rw-r--r-- | src/shared/time-util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 16cc593cf5..05369d295b 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -84,9 +84,10 @@ struct timespec *timespec_store(struct timespec *ts, usec_t u); usec_t timeval_load(const struct timeval *tv) _pure_; struct timeval *timeval_store(struct timeval *tv, usec_t u); -char *format_timestamp_internal(char *buf, size_t l, usec_t t, bool utc); char *format_timestamp(char *buf, size_t l, usec_t t); -char *format_timestamp_us(char *buf, size_t l, usec_t t, bool utc); +char *format_timestamp_utc(char *buf, size_t l, usec_t t); +char *format_timestamp_us(char *buf, size_t l, usec_t t); +char *format_timestamp_us_utc(char *buf, size_t l, usec_t t); char *format_timestamp_relative(char *buf, size_t l, usec_t t); char *format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy); |