summaryrefslogtreecommitdiffstats
path: root/src/basic
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-04-02 18:40:38 +0200
committerMike Yuan <me@yhndnzj.com>2024-04-03 04:03:53 +0200
commit65b584334dd971220654b90bd7a73a957f599318 (patch)
tree2248de30a59f2b13870ce46930995f7020d63806 /src/basic
parentgit-contrib: use 'git shortlog' command (diff)
downloadsystemd-65b584334dd971220654b90bd7a73a957f599318.tar.xz
systemd-65b584334dd971220654b90bd7a73a957f599318.zip
time-util: drop unneeded 'struct'
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/time-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/time-util.h b/src/basic/time-util.h
index a3c219ecdd..ebcdc41118 100644
--- a/src/basic/time-util.h
+++ b/src/basic/time-util.h
@@ -71,8 +71,8 @@ typedef enum TimestampStyle {
#define TIME_T_MAX (time_t)((UINTMAX_C(1) << ((sizeof(time_t) << 3) - 1)) - 1)
-#define DUAL_TIMESTAMP_NULL ((struct dual_timestamp) {})
-#define TRIPLE_TIMESTAMP_NULL ((struct triple_timestamp) {})
+#define DUAL_TIMESTAMP_NULL ((dual_timestamp) {})
+#define TRIPLE_TIMESTAMP_NULL ((triple_timestamp) {})
usec_t now(clockid_t clock);
nsec_t now_nsec(clockid_t clock);