aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-31 22:42:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-31 22:42:12 +0000
commit9a7d38fe2448617df98ecaea7dbe6f3131088586 (patch)
tree5966d651dcb5588e24106791f9cd3647f358112b /util-linux
parentfad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (diff)
downloadbusybox-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.gz
delete tons of extra #includes
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/dmesg.c3
-rw-r--r--util-linux/hwclock.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index ed908ede9..0c1c6fabb 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -9,9 +9,8 @@
* Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
-#include "libbb.h"
-#include <unistd.h>
#include <sys/klog.h>
+#include "libbb.h"
int dmesg_main(int argc, char **argv);
int dmesg_main(int argc, char **argv)
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 686492578..c4b793ef8 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -7,8 +7,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-
-#include <sys/ioctl.h>
+//#include <sys/ioctl.h>
#include <sys/utsname.h>
#include <getopt.h>
#include "libbb.h"