Update of /cvsroot/xine/xine-lib/src/combined
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2985/src/combined
Modified Files:
decoder_wavpack.c demux_wavpack.c
Log Message:
Instead of __unused, use __attr_unused, to avoid possible collisions with other
libraries.
Index: decoder_wavpack.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/combined/decoder_wavpack.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- decoder_wavpack.c 25 Feb 2007 17:57:04 -0000 1.11
+++ decoder_wavpack.c 25 Feb 2007 18:02:13 -0000 1.12
@@ -119,9 +119,9 @@
return 1;
}
-static int32_t xine_buffer_write_bytes(__unused void *const id,
- __unused void *const data,
- __unused const int32_t bcount) {
+static int32_t xine_buffer_write_bytes(__attr_unused void *const id,
+ __attr_unused void *const data,
+ __attr_unused const int32_t bcount) {
lprintf("xine_buffer_write_bytes: access is read-only.\n");
return 0;
}
Index: demux_wavpack.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/combined/demux_wavpack.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- demux_wavpack.c 25 Feb 2007 17:52:16 -0000 1.9
+++ demux_wavpack.c 25 Feb 2007 18:02:13 -0000 1.10
@@ -96,9 +96,9 @@
return INPUT_IS_SEEKABLE(this);
}
-static int32_t xine_input_write_bytes(__unused void *const id,
- __unused void *const data,
- __unused const int32_t bcount) {
+static int32_t xine_input_write_bytes(__attr_unused void *const id,
+ __attr_unused void *const data,
+ __attr_unused const int32_t bcount) {
lprintf("xine_input_write_bytes: acces is read-only.\n");
return 0;
}
-------------------------------------------------------------------------
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