summaryrefslogtreecommitdiffstats
path: root/hwclock/clock.h
diff options
context:
space:
mode:
authorKarel Zak2009-10-16 01:37:09 +0200
committerKarel Zak2009-10-16 01:37:09 +0200
commitb940bae39754ef9892125e9e31a45951fdc99558 (patch)
tree32966541cbe492163701f51619c8f925b06f6865 /hwclock/clock.h
parentpartx: use c.h (diff)
downloadkernel-qcow2-util-linux-b940bae39754ef9892125e9e31a45951fdc99558.tar.gz
kernel-qcow2-util-linux-b940bae39754ef9892125e9e31a45951fdc99558.tar.xz
kernel-qcow2-util-linux-b940bae39754ef9892125e9e31a45951fdc99558.zip
hwclock: use c.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'hwclock/clock.h')
-rw-r--r--hwclock/clock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hwclock/clock.h b/hwclock/clock.h
index cbdf99917..e4eb7eba8 100644
--- a/hwclock/clock.h
+++ b/hwclock/clock.h
@@ -7,6 +7,8 @@
#include <errno.h> /* for errno, EPERM, EINVAL, ENOENT */
#include <time.h>
+#include "c.h"
+
struct clock_ops {
char *interface_name;
int (*get_permissions)(void);
@@ -20,8 +22,6 @@ extern struct clock_ops *probe_for_rtc_clock(void);
extern struct clock_ops *probe_for_kd_clock(void);
typedef int bool;
-#define TRUE 1
-#define FALSE 0
/* hwclock.c */
extern char *progname;