From 473ec35974185ad8ab74b6de63fa08f74fdda22e Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 26 Aug 2017 13:38:07 +0100 Subject: hwclock: remove bool type definition Use plain int instead of type defining it to a boolean, and use numbers to signify true or false as we do everywhere else in this source tree. And in hwclock-cmos.c file booleans weren't even needed, to the related code is removed. Signed-off-by: Sami Kerola --- sys-utils/hwclock.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys-utils/hwclock.h') diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h index 6943d8d79..215cf9302 100644 --- a/sys-utils/hwclock.h +++ b/sys-utils/hwclock.h @@ -53,8 +53,6 @@ struct clock_ops { extern struct clock_ops *probe_for_cmos_clock(void); extern struct clock_ops *probe_for_rtc_clock(const struct hwclock_control *ctl); -typedef int bool; - /* hwclock.c */ extern int debug; extern double time_diff(struct timeval subtrahend, struct timeval subtractor); -- cgit v1.2.3-55-g7522