2004-06-12 03:05:37 +02:00
|
|
|
$NetBSD: patch-aa,v 1.2 2004/06/12 01:05:37 grant Exp $
|
2004-05-09 06:42:46 +02:00
|
|
|
|
2004-06-12 03:05:37 +02:00
|
|
|
--- xmmsctrl.c.orig 2001-11-22 05:45:56.000000000 +1100
|
|
|
|
+++ xmmsctrl.c
|
|
|
|
@@ -38,7 +38,7 @@ USA.
|
2004-05-09 06:42:46 +02:00
|
|
|
/* This declaration seems to be missing on my system
|
|
|
|
* Comment it if your are running Debian
|
|
|
|
*/
|
|
|
|
-void usleep(unsigned long usec);
|
|
|
|
+/* void usleep(unsigned long usec); */
|
|
|
|
|
|
|
|
/* returns true if xmms is playing a stream */
|
|
|
|
static gboolean is_stream_playing(gint);
|
2004-06-12 03:05:37 +02:00
|
|
|
@@ -537,7 +537,7 @@ static void set_dir(gint session, char *
|
|
|
|
* print xmmsctrl help
|
|
|
|
* the dummy variable is used just for convenience
|
|
|
|
*/
|
|
|
|
-static void print_help(__attribute__ ((unused)) gint dummy) {
|
|
|
|
+static void print_help(gint dummy) {
|
|
|
|
unsigned int i;
|
|
|
|
|
|
|
|
/* The string is cut to conform to ISO C89 */
|