summaryrefslogtreecommitdiffstats
path: root/src/basic/time-util.h
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2016-02-09 09:23:24 +0100
committerAlexander Kuleshov <kuleshovmail@gmail.com>2016-02-10 12:46:52 +0100
commitaaea9db80cdf0a9209b18464101a948d6242cab2 (patch)
treed32cb13ab9c75807f2c53ad5bb99be48be320707 /src/basic/time-util.h
parentMerge pull request #2542 from 0xAX/get_ts_delta (diff)
downloadsystemd-aaea9db80cdf0a9209b18464101a948d6242cab2.tar.xz
systemd-aaea9db80cdf0a9209b18464101a948d6242cab2.zip
time-util: make timespec_load_nsec() static
The timespec_load_nsec() function has no callers outside of the time-util.c, so we can make it static.
Diffstat (limited to '')
-rw-r--r--src/basic/time-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/time-util.h b/src/basic/time-util.h
index 87440faeee..5b4b5b9485 100644
--- a/src/basic/time-util.h
+++ b/src/basic/time-util.h
@@ -92,8 +92,6 @@ 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);
-nsec_t timespec_load_nsec(const struct timespec *ts) _pure_;
-
char *format_timestamp(char *buf, size_t l, usec_t t);
char *format_timestamp_utc(char *buf, size_t l, usec_t t);
char *format_timestamp_us(char *buf, size_t l, usec_t t);