]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/mod/file2alias.c
Merge remote-tracking branch 'ubifs/linux-next'
[karo-tx-linux.git] / scripts / mod / file2alias.c
index d9e67b719f08e013d4d8da8aaf579332e19f9c23..23708636b05c873f78b1ef5911eb795ba7114497 100644 (file)
@@ -79,10 +79,12 @@ struct devtable **__start___devtable, **__stop___devtable;
 extern struct devtable *__start___devtable[], *__stop___devtable[];
 #endif /* __MACH__ */
 
-#if __GNUC__ == 3 && __GNUC_MINOR__ < 3
-# define __used                        __attribute__((__unused__))
-#else
-# define __used                        __attribute__((__used__))
+#if !defined(__used)
+# if __GNUC__ == 3 && __GNUC_MINOR__ < 3
+#  define __used                       __attribute__((__unused__))
+# else
+#  define __used                       __attribute__((__used__))
+# endif
 #endif
 
 /* Define a variable f that holds the value of field f of struct devid