1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

time-util: drop unneeded 'struct'

This commit is contained in:
Mike Yuan 2024-04-03 00:40:38 +08:00
parent dcc6256593
commit 65b584334d
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View 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);