summaryrefslogtreecommitdiff
path: root/libhw/host_include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-02 02:01:30 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-09 23:42:11 -0700
commit41ac4f8dfddc8d003cb3174d466a58fa14701d35 (patch)
tree209bbac2078be812aa4f20e2a146e471a7e2c99b /libhw/host_include
parent9cd5486484653dd8cc42b43bcde45379982c3177 (diff)
libhw_generic: alarmclock: Use libobj instead of vcall.h
Diffstat (limited to 'libhw/host_include')
-rw-r--r--libhw/host_include/libhw/host_alarmclock.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libhw/host_include/libhw/host_alarmclock.h b/libhw/host_include/libhw/host_alarmclock.h
index 163fb9f..89df68a 100644
--- a/libhw/host_include/libhw/host_alarmclock.h
+++ b/libhw/host_include/libhw/host_alarmclock.h
@@ -14,7 +14,6 @@
#include <libhw/generic/alarmclock.h>
struct hostclock {
- implements_alarmclock;
clockid_t clock_id;
BEGIN_PRIVATE(LIBHW_HOST_ALARMCLOCK_H)
@@ -23,7 +22,6 @@ struct hostclock {
struct alarmclock_trigger *queue;
END_PRIVATE(LIBHW_HOST_ALARMCLOCK_H)
};
-
-extern struct alarmclock_vtable hostclock_vtable;
+LO_IMPLEMENTATION_H(alarmclock, struct hostclock, hostclock)
#endif /* _LIBHW_HOST_ALARMCLOCK_H_ */