summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.h
diff options
context:
space:
mode:
authorSami Kerola2017-08-26 14:38:07 +0200
committerKarel Zak2017-08-30 11:21:56 +0200
commit473ec35974185ad8ab74b6de63fa08f74fdda22e (patch)
treeab448f37e2bc9604d87a2468790ca3ab0c5f1853 /sys-utils/hwclock.h
parentfdisk: use strutils to trim whitespace from input (diff)
downloadkernel-qcow2-util-linux-473ec35974185ad8ab74b6de63fa08f74fdda22e.tar.gz
kernel-qcow2-util-linux-473ec35974185ad8ab74b6de63fa08f74fdda22e.tar.xz
kernel-qcow2-util-linux-473ec35974185ad8ab74b6de63fa08f74fdda22e.zip
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 <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/hwclock.h')
-rw-r--r--sys-utils/hwclock.h2
1 files changed, 0 insertions, 2 deletions
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);