[xiph-cvs] cvs commit: libshout/src shout.c
Jack Moffitt
jack at xiph.org
Sat Oct 20 14:47:01 PDT 2001
jack 01/10/20 14:47:01
Modified: include/shout shout.h
src shout.c
Log:
Fix a warning. That variable was never used, so get rid of it.
Revision Changes Path
1.3 +1 -1 libshout/include/shout/shout.h
Index: shout.h
===================================================================
RCS file: /usr/local/cvsroot/libshout/include/shout/shout.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- shout.h 2001/10/20 21:43:56 1.2
+++ shout.h 2001/10/20 21:47:00 1.3
@@ -102,7 +102,7 @@
** Formats the error code to a user readable string, like strerror()
** Returns pointer to namespace.
*/
-char *shout_strerror(shout_conn_t *self, int error);
+char *shout_strerror(int error);
#ifdef __cplusplus
}
1.3 +1 -1 libshout/src/shout.c
Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- shout.c 2001/10/20 21:43:56 1.2
+++ shout.c 2001/10/20 21:47:00 1.3
@@ -166,7 +166,7 @@
if (sleep > 0) timing_sleep(sleep);
}
-char *shout_strerror(shout_conn_t *self, int error)
+char *shout_strerror(int error)
{
switch (error) {
case SHOUTERR_INSANE:
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list