summaryrefslogtreecommitdiff
path: root/audio/xmmsctrl/patches/patch-aa
blob: b5d9555c7032f040f5f575b458339992292b0f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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 */