diff options
author | Karel Zak | 2008-11-26 14:31:19 +0100 |
---|---|---|
committer | Karel Zak | 2008-11-26 14:31:19 +0100 |
commit | 715814d9507e9365129bf58be67a8ab5a4dd18d6 (patch) | |
tree | 1d8386540bd14756a0fec29991cdbaaa44489ee3 /hwclock | |
parent | getopt: remove unnecessary ifdefs (diff) | |
download | kernel-qcow2-util-linux-715814d9507e9365129bf58be67a8ab5a4dd18d6.tar.gz kernel-qcow2-util-linux-715814d9507e9365129bf58be67a8ab5a4dd18d6.tar.xz kernel-qcow2-util-linux-715814d9507e9365129bf58be67a8ab5a4dd18d6.zip |
hwclock: clock.h is included more than once
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'hwclock')
-rw-r--r-- | hwclock/kd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hwclock/kd.c b/hwclock/kd.c index 6be5fabd0..3b5708a91 100644 --- a/hwclock/kd.c +++ b/hwclock/kd.c @@ -1,9 +1,9 @@ /* kd.c - KDGHWCLK stuff, possibly m68k only - deprecated */ -#ifndef __m68k__ - #include "clock.h" +#ifndef __m68k__ + struct clock_ops * probe_for_kd_clock() { return NULL; @@ -13,11 +13,9 @@ probe_for_kd_clock() { #include <unistd.h> /* for close() */ #include <fcntl.h> /* for O_RDONLY */ -#include <errno.h> #include <sysexits.h> #include <sys/ioctl.h> -#include "clock.h" #include "nls.h" static int con_fd = -1; /* opened by probe_for_kd_clock() */ |