projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcc6256
)
time-util: drop unneeded 'struct'
author
Mike Yuan
<me@yhndnzj.com>
Tue, 2 Apr 2024 16:40:38 +0000
(
00:40
+0800)
committer
Mike Yuan
<me@yhndnzj.com>
Wed, 3 Apr 2024 02:03:53 +0000
(10:03 +0800)
src/basic/time-util.h
patch
|
blob
|
history
diff --git
a/src/basic/time-util.h
b/src/basic/time-util.h
index a3c219ecddd8cea37c14732920f2dc5891491651..ebcdc41118eacd4735e6b231e1be6239672cbe09 100644
(file)
--- 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);