blob: 7080a5d7e1a8f018e6354f55085f458a2ee66eae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-ab,v 1.1 2004/09/21 17:15:35 jmmv Exp $
--- cd-drive.c.orig 2004-08-09 22:04:30.000000000 +0200
+++ cd-drive.c
@@ -688,8 +688,9 @@ lookup_scsi_unit (int bus, int id, int l
}
return NULL;
}
+#endif
-#if !defined(__linux)
+#if !defined(__linux__)
static int
get_device_max_read_speed (char *device)
{
@@ -710,7 +711,6 @@ get_device_max_read_speed (char *device)
return max_speed;
}
-#endif
static int
get_device_max_write_speed (char *device)
@@ -732,6 +732,9 @@ get_device_max_write_speed (char *device
return max_speed;
}
+#endif
+
+#if defined(__linux__)
static char *
get_scsi_cd_name (int bus, int id, int lun, const char *dev,
|