]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
time-util: drop unneeded 'struct'
authorMike Yuan <me@yhndnzj.com>
Tue, 2 Apr 2024 16:40:38 +0000 (00:40 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 3 Apr 2024 02:03:53 +0000 (10:03 +0800)
src/basic/time-util.h

index a3c219ecddd8cea37c14732920f2dc5891491651..ebcdc41118eacd4735e6b231e1be6239672cbe09 100644 (file)
@@ -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);