diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:17:05 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:17:33 -0600 |
commit | b4a081932338f65aa87aeba5008463feb0a78519 (patch) | |
tree | ce628075a2ae59d5362d2662465c918f57e81607 /libhw_cr/host_alarmclock.c | |
parent | 42729f477684b12735b572a4975d32fb1002a530 (diff) |
More GCC 15 fixes
Diffstat (limited to 'libhw_cr/host_alarmclock.c')
-rw-r--r-- | libhw_cr/host_alarmclock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhw_cr/host_alarmclock.c b/libhw_cr/host_alarmclock.c index 9eedec2..ac2093c 100644 --- a/libhw_cr/host_alarmclock.c +++ b/libhw_cr/host_alarmclock.c @@ -49,7 +49,7 @@ static void hostclock_handle_sig_alarm(int LM_UNUSED(sig), siginfo_t *info, void if (alarmclock->queue) { struct itimerspec alarmspec = { .it_value = ns_to_host_ns_time(alarmclock->queue->fire_at_ns), - .it_interval = {0}, + .it_interval = {}, }; if (timer_settime(alarmclock->timer_id, TIMER_ABSTIME, &alarmspec, NULL) != 0) error(1, errno, "timer_settime"); @@ -101,7 +101,7 @@ static bool hostclock_add_trigger(struct hostclock *alarmclock, if (alarmclock->queue == trigger) { struct itimerspec alarmspec = { .it_value = ns_to_host_ns_time(trigger->fire_at_ns), - .it_interval = {0}, + .it_interval = {}, }; if (timer_settime(alarmclock->timer_id, TIMER_ABSTIME, &alarmspec, NULL) != 0) error(1, errno, "timer_settime"); |