aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 14:45:32 +0100
committerThomas Jansen <mithi@mithi.net>2008-11-24 14:45:32 +0100
commit02273d96c321ecadde3f0c548cacb4db9857890d (patch)
tree93353b32844a539581fd5be1a8b27fa378fe36ee
parent87751ddbd0b4acad2f0575795dccb192c1e093e5 (diff)
downloadmpd-02273d96c321ecadde3f0c548cacb4db9857890d.tar.gz
mpd-02273d96c321ecadde3f0c548cacb4db9857890d.tar.xz
mpd-02273d96c321ecadde3f0c548cacb4db9857890d.zip
sig_handlers.c: replaced mpd_unused by G_GNUC_UNUSED
-rw-r--r--src/sig_handlers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sig_handlers.c b/src/sig_handlers.c
index 7db50c457..4c1bc0442 100644
--- a/src/sig_handlers.c
+++ b/src/sig_handlers.c
@@ -28,6 +28,7 @@
#include <sys/signal.h>
#include <sys/wait.h>
#include <errno.h>
+#include <glib.h>
int handlePendingSignals(void)
{
@@ -50,7 +51,7 @@ int handlePendingSignals(void)
return 0;
}
-static void chldSigHandler(mpd_unused int sig)
+static void chldSigHandler(G_GNUC_UNUSED int sig)
{
int status;
int pid;