From 0615af6f4748e4f7dc6a4f034a9db636742cc3bd Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 21 Nov 2024 23:51:38 -0700 Subject: Use C23 (C++11) attribute syntax instead of __attribute__ --- libhw/host_alarmclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhw/host_alarmclock.c') diff --git a/libhw/host_alarmclock.c b/libhw/host_alarmclock.c index cc84c5d..8b9bdcf 100644 --- a/libhw/host_alarmclock.c +++ b/libhw/host_alarmclock.c @@ -54,7 +54,7 @@ implements_alarmclock *bootclock = &clock_monotonic; /* Main implementation ********************************************************/ -#define UNUSED(name) /* name __attribute__ ((unused)) */ +#define UNUSED(name) static uint64_t hostclock_get_time_ns(implements_alarmclock *_alarmclock) { struct hostclock *alarmclock = -- cgit v1.2.3-2-g168b