diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:02 +0200 |
commit | a383f4511734b978020b1f8b4360ef9ad438e929 (patch) | |
tree | 36eed149dc77683414b81e91b463a5a4376d000e /src/audioOutputs/audioOutput_oss.c | |
parent | d05c8fd422266f5769ba8bde1ee23a20a73578a7 (diff) | |
download | mpd-a383f4511734b978020b1f8b4360ef9ad438e929.tar.gz mpd-a383f4511734b978020b1f8b4360ef9ad438e929.tar.xz mpd-a383f4511734b978020b1f8b4360ef9ad438e929.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/audioOutputs/audioOutput_oss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index 2a6a4876b..2df7d5728 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -334,7 +334,8 @@ static int oss_testDefault(void) return -1; } -static int oss_open_default(AudioOutput *ao, ConfigParam *param, OssData *od) +static int oss_open_default(mpd_unused AudioOutput *ao, ConfigParam *param, + OssData *od) { int i; int err[ARRAY_SIZE(default_devices)]; |