Update of /cvsroot/xine/xine-lib/src/xine-utils
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23290/src/xine-utils
Modified Files:
attributes.h
Log Message:
Instead of replicating it over and over, define __unused in attributes.h so
that it can be used whenever necessary.
Index: attributes.h
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/xine-utils/attributes.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- attributes.h 2 Oct 2006 15:56:07 -0000 1.11
+++ attributes.h 25 Feb 2007 17:34:48 -0000 1.12
@@ -59,4 +59,12 @@
# define XINE_SENTINEL
#endif
+#ifndef __unused
+# ifdef SUPPORT_ATTRIBUTE_UNUSED
+# define __unused __attribute__((unused))
+# else
+# define __unused
+# endif
+#endif
+
#endif /* ATTRIBUTE_H_ */
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog