SOURCES: sg3_utils-llh.patch (NEW) - llh don't provide __unused macro

qboosh qboosh at pld-linux.org
Wed Dec 28 20:22:23 CET 2005


Author: qboosh                       Date: Wed Dec 28 19:22:23 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- llh don't provide __unused macro

---- Files affected:
SOURCES:
   sg3_utils-llh.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/sg3_utils-llh.patch
diff -u /dev/null SOURCES/sg3_utils-llh.patch:1.1
--- /dev/null	Wed Dec 28 20:22:23 2005
+++ SOURCES/sg3_utils-llh.patch	Wed Dec 28 20:22:18 2005
@@ -0,0 +1,13 @@
+--- sg3_utils-1.19/sg_inq.c.orig	2005-12-26 12:11:21.000000000 +0100
++++ sg3_utils-1.19/sg_inq.c	2005-12-28 19:59:53.048191120 +0100
+@@ -2150,8 +2150,8 @@
+ }
+ #else
+ 
+-static int try_ata_identify(int ata_fd __unused, int do_hex __unused,
+-                            int do_raw __unused, int do_verbose __unused)
++static int try_ata_identify(int ata_fd __attribute__((unused)), int do_hex __attribute__((unused)),
++                            int do_raw __attribute__((unused)), int do_verbose __attribute__((unused)))
+ {
+     return -1;
+ }
================================================================


More information about the pld-cvs-commit mailing list