diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-10-11 18:45:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-21 00:38:30 +0200 |
commit | e4746b57387ffaf8be01c177ed4bbf02c8088341 (patch) | |
tree | 12d3f25f511a05c381005f5d08a2585071efb0bd /src/timesync/timesyncd-manager.c | |
parent | 6dab5bb18151c80fc39bd51f03dcff40b920de3e (diff) |
util: avoid duplication of TIME_T_MAX
Diffstat (limited to 'src/timesync/timesyncd-manager.c')
-rw-r--r-- | src/timesync/timesyncd-manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c index 46f8bd6d81..e5b156b7dd 100644 --- a/src/timesync/timesyncd-manager.c +++ b/src/timesync/timesyncd-manager.c @@ -54,8 +54,7 @@ #include "mkdir.h" #include "timesyncd-conf.h" #include "timesyncd-manager.h" - -#define TIME_T_MAX (time_t)((1UL << ((sizeof(time_t) << 3) - 1)) - 1) +#include "time-util.h" #ifndef ADJ_SETOFFSET #define ADJ_SETOFFSET 0x0100 /* add 'time' to current time */ |