summaryrefslogtreecommitdiffstats
path: root/fdisk
diff options
context:
space:
mode:
authorKarel Zak2010-01-13 10:51:57 +0100
committerKarel Zak2010-01-13 10:59:43 +0100
commit2c4b9254e911d18196c7bec8b4c84c2e65b552ea (patch)
treefd78ccb9b3784227de2b640dd11c790d94e7d3b9 /fdisk
parentupdate TODO file (diff)
downloadkernel-qcow2-util-linux-2c4b9254e911d18196c7bec8b4c84c2e65b552ea.tar.gz
kernel-qcow2-util-linux-2c4b9254e911d18196c7bec8b4c84c2e65b552ea.tar.xz
kernel-qcow2-util-linux-2c4b9254e911d18196c7bec8b4c84c2e65b552ea.zip
fdisk: don't include scsi.h
The fdisksunlabel.c header file is unnecessary for fdisk/fdisksunlabel.h. Reported-by: Thomas Stalder <thomas@netsolux.ch> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk')
-rw-r--r--fdisk/fdisksunlabel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fdisk/fdisksunlabel.c b/fdisk/fdisksunlabel.c
index 2f9fad906..670a15a56 100644
--- a/fdisk/fdisksunlabel.c
+++ b/fdisk/fdisksunlabel.c
@@ -22,11 +22,6 @@
#include "blkdev.h"
#include <endian.h>
-#ifdef HAVE_SCSI_SCSI_H
-#define u_char unsigned char
-#include <scsi/scsi.h> /* SCSI_IOCTL_GET_IDLUN */
-#undef u_char
-#endif
#ifdef HAVE_LINUX_MAJOR_H
#include <linux/major.h> /* FLOPPY_MAJOR */
#endif