PATCH: dlls/ntdll/cdrom.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tested on SuSE Linux 8.1 and FreeBSD 4.7.

Gerald


Only declare variables we actually need.

Index: cdrom.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/cdrom.c,v
retrieving revision 1.22
diff -u -3 -p -r1.22 cdrom.c
--- cdrom.c	7 Jan 2003 20:36:28 -0000	1.22
+++ cdrom.c	21 Jan 2003 09:13:10 -0000
@@ -175,7 +175,9 @@ static int CDROM_GetIdeInterface(int dev
 void CDROM_InitRegistry(int dev)
 {
     int portnum, targetid;
+#ifdef HDIO_GET_DMA
     int dma;
+#endif
     OBJECT_ATTRIBUTES attr;
     UNICODE_STRING nameW;
     WCHAR dataW[50];


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux