diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:02 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-30 17:38:50 -0700 |
commit | ac5ec35a6e222f635912f6a7eaf3c036c71367b6 (patch) | |
tree | cb6d1ec7b4b5d165b61da5b27e717c52b1b3f5c6 /src/sig_handlers.c | |
parent | 2147b207c03891bd657043766444006dce513a93 (diff) | |
download | mpd-ac5ec35a6e222f635912f6a7eaf3c036c71367b6.tar.gz mpd-ac5ec35a6e222f635912f6a7eaf3c036c71367b6.tar.xz mpd-ac5ec35a6e222f635912f6a7eaf3c036c71367b6.zip |
enable -Wpointer-arith, -Wstrict-prototypes
Also enable -Wunused-parameter - this forces us to add the gcc
"unused" attribute to a lot of parameters (mostly library callback
functions), but it's worth it during code refactorizations.
Diffstat (limited to '')
-rw-r--r-- | src/sig_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sig_handlers.c b/src/sig_handlers.c index 0ad35b779..2d2e08278 100644 --- a/src/sig_handlers.c +++ b/src/sig_handlers.c @@ -46,7 +46,7 @@ int handlePendingSignals(void) return 0; } -static void chldSigHandler(int sig) +static void chldSigHandler(mpd_unused int sig) { int status; int pid; |