summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorKarel Zak2012-10-22 11:03:09 +0200
committerKarel Zak2012-10-22 11:03:09 +0200
commit2a31396a9cee344fcc3a4d34f5e26954fccc6e16 (patch)
tree8fa988d37faeb9a1d21703b006b676f7e644cd6b /sys-utils
parentbuild-sys: remove gethostbyname() check (diff)
downloadkernel-qcow2-util-linux-2a31396a9cee344fcc3a4d34f5e26954fccc6e16.tar.gz
kernel-qcow2-util-linux-2a31396a9cee344fcc3a4d34f5e26954fccc6e16.tar.xz
kernel-qcow2-util-linux-2a31396a9cee344fcc3a4d34f5e26954fccc6e16.zip
include/c: move usleep() fallback to c.h
To make it available everywhere in code. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/hwclock-kd.c4
-rw-r--r--sys-utils/rtcwake.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/sys-utils/hwclock-kd.c b/sys-utils/hwclock-kd.c
index bfe50dc15..9ed83436a 100644
--- a/sys-utils/hwclock-kd.c
+++ b/sys-utils/hwclock-kd.c
@@ -1,8 +1,7 @@
/*
* kd.c - KDGHWCLK stuff, possibly m68k only, likely to be deprecated
*/
-
-# include "hwclock.h"
+#include "hwclock.h"
#ifdef __m68k__
@@ -12,7 +11,6 @@
# include <unistd.h>
# include "nls.h"
-# include "usleep.h"
/* Get defines for KDGHWCLK and KDSHWCLK (m68k) */
# include <linux/kd.h>
diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c
index a1fd6dc45..7a757ad66 100644
--- a/sys-utils/rtcwake.c
+++ b/sys-utils/rtcwake.c
@@ -38,7 +38,6 @@
#include "nls.h"
#include "xalloc.h"
#include "pathnames.h"
-#include "usleep.h"
#include "strutils.h"
#include "c.h"
#include "closestream.h"