summaryrefslogtreecommitdiff
path: root/extras/scsi_id/scsi_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/scsi_id/scsi_id.h')
-rw-r--r--extras/scsi_id/scsi_id.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/extras/scsi_id/scsi_id.h b/extras/scsi_id/scsi_id.h
index 9edb39ec49..10599ebb5f 100644
--- a/extras/scsi_id/scsi_id.h
+++ b/extras/scsi_id/scsi_id.h
@@ -37,7 +37,7 @@
* MAX_SERIAL_LEN: the maximum length of the serial number, including
* added prefixes such as vendor and product (model) strings.
*/
-#define MAX_SERIAL_LEN 128
+#define MAX_SERIAL_LEN 256
/*
* MAX_BUFFER_LEN: maximum buffer size and line length used while reading
@@ -53,10 +53,6 @@ extern int scsi_get_serial (struct sysfs_device *scsi_dev, const char
extern void log_message (int level, const char *format, ...)
__attribute__ ((format (printf, 2, 3)));
-#ifdef __KLIBC__
-#define makedev(major, minor) ((major) << 8) | (minor)
-#endif
-
#ifndef u8
typedef unsigned char u8;
#endif