pkgsrc/audio/xmmsctrl/patches/patch-aa

23 lines
731 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.2 2004/06/12 01:05:37 grant Exp $
--- xmmsctrl.c.orig 2001-11-22 05:45:56.000000000 +1100
+++ xmmsctrl.c
@@ -38,7 +38,7 @@ USA.
/* 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);
@@ -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 */