summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2009-10-08 13:40:14 +0200
committerKarel Zak <kzak@redhat.com>2009-10-09 15:17:54 +0200
commitcef0ccd580fd51e2570eedec51cb66dbce301e56 (patch)
tree46168c2c54a797f1d2acd5f7ff4c5269625afc66
parent76fb73ef988e6de5b8d8b235df3868cbc8147d28 (diff)
downloadutil-linux-old-cef0ccd580fd51e2570eedec51cb66dbce301e56.tar.gz
Remove now unused <sys/ioctl.h> includes
Those became unused with the switch to the blkdev functions. Signed-off-by: Guillem Jover <guillem@hadrons.org>
-rw-r--r--disk-utils/fsck.cramfs.c1
-rw-r--r--disk-utils/mkfs.bfs.c1
-rw-r--r--disk-utils/mkfs.minix.c1
-rw-r--r--disk-utils/mkswap.c1
-rw-r--r--fdisk/fdiskbsdlabel.c1
-rw-r--r--fdisk/gpt.c1
-rw-r--r--hwclock/hwclock.c1
-rw-r--r--login-utils/agetty.c1
-rw-r--r--shlibs/blkid/src/topology/dm.c1
-rw-r--r--shlibs/blkid/src/topology/lvm.c1
10 files changed, 0 insertions, 10 deletions
diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c
index 649aef03..09953dc2 100644
--- a/disk-utils/fsck.cramfs.c
+++ b/disk-utils/fsck.cramfs.c
@@ -51,7 +51,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
-#include <sys/ioctl.h>
#include <sys/sysmacros.h> /* for major, minor */
#include "cramfs.h"
diff --git a/disk-utils/mkfs.bfs.c b/disk-utils/mkfs.bfs.c
index 33f37c4f..58f5352a 100644
--- a/disk-utils/mkfs.bfs.c
+++ b/disk-utils/mkfs.bfs.c
@@ -10,7 +10,6 @@
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
diff --git a/disk-utils/mkfs.minix.c b/disk-utils/mkfs.minix.c
index e669ec6b..ebef5188 100644
--- a/disk-utils/mkfs.minix.c
+++ b/disk-utils/mkfs.minix.c
@@ -68,7 +68,6 @@
#include <stdlib.h>
#include <termios.h>
#include <sys/stat.h>
-#include <sys/ioctl.h>
#include <sys/param.h>
#include <mntent.h>
#include <getopt.h>
diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c
index 1205acdb..73cede75 100644
--- a/disk-utils/mkswap.c
+++ b/disk-utils/mkswap.c
@@ -38,7 +38,6 @@
#include <stdlib.h>
#include <limits.h>
#include <mntent.h>
-#include <sys/ioctl.h> /* for _IO */
#include <sys/utsname.h>
#include <sys/stat.h>
#include <errno.h>
diff --git a/fdisk/fdiskbsdlabel.c b/fdisk/fdiskbsdlabel.c
index d5243b9e..2f415616 100644
--- a/fdisk/fdiskbsdlabel.c
+++ b/fdisk/fdiskbsdlabel.c
@@ -52,7 +52,6 @@
#include <errno.h>
#include "nls.h"
-#include <sys/ioctl.h>
#include <sys/param.h>
#include "common.h"
diff --git a/fdisk/gpt.c b/fdisk/gpt.c
index f7752c09..ff659fd8 100644
--- a/fdisk/gpt.c
+++ b/fdisk/gpt.c
@@ -30,7 +30,6 @@
#include <stdlib.h>
#include <inttypes.h>
#include <sys/stat.h>
-#include <sys/ioctl.h>
#include <sys/utsname.h>
#include <sys/types.h>
#include <fcntl.h>
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c
index 571d63fb..3504f2be 100644
--- a/hwclock/hwclock.c
+++ b/hwclock/hwclock.c
@@ -71,7 +71,6 @@
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/login-utils/agetty.c b/login-utils/agetty.c
index 90a64b33..39a1fd3e 100644
--- a/login-utils/agetty.c
+++ b/login-utils/agetty.c
@@ -17,7 +17,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/ioctl.h>
#include <termios.h>
#include <signal.h>
#include <errno.h>
diff --git a/shlibs/blkid/src/topology/dm.c b/shlibs/blkid/src/topology/dm.c
index 60ca1dcd..15c0842d 100644
--- a/shlibs/blkid/src/topology/dm.c
+++ b/shlibs/blkid/src/topology/dm.c
@@ -15,7 +15,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
diff --git a/shlibs/blkid/src/topology/lvm.c b/shlibs/blkid/src/topology/lvm.c
index 0ea984a8..c760dcbc 100644
--- a/shlibs/blkid/src/topology/lvm.c
+++ b/shlibs/blkid/src/topology/lvm.c
@@ -15,7 +15,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>