diff options
author | Max Kellermann <max@duempel.org> | 2009-01-01 18:08:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-01 18:08:29 +0100 |
commit | 7dfe301b54c36ccd934246e81bde6b73e241f858 (patch) | |
tree | 9ad6d18c75bff14bccfa8517e6b29a1ccd878779 /src/output/mvp_plugin.c | |
parent | 0734acf392454629502b8b19f0edc865ba064c4c (diff) | |
download | mpd-7dfe301b54c36ccd934246e81bde6b73e241f858.tar.gz mpd-7dfe301b54c36ccd934246e81bde6b73e241f858.tar.xz mpd-7dfe301b54c36ccd934246e81bde6b73e241f858.zip |
output plugins: don't include gcc.h
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
Diffstat (limited to 'src/output/mvp_plugin.c')
-rw-r--r-- | src/output/mvp_plugin.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c index ef822ee74..8972e338b 100644 --- a/src/output/mvp_plugin.c +++ b/src/output/mvp_plugin.c @@ -22,6 +22,7 @@ #include "../output_api.h" #include <glib.h> + #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> @@ -103,9 +104,9 @@ static bool mvp_testDefault(void) return false; } -static void *mvp_initDriver(mpd_unused struct audio_output *audio_output, - mpd_unused const struct audio_format *audio_format, - mpd_unused ConfigParam *param) +static void *mvp_initDriver(G_GNUC_UNUSED struct audio_output *audio_output, + G_GNUC_UNUSED const struct audio_format *audio_format, + G_GNUC_UNUSED ConfigParam *param) { MvpData *md = g_new(MvpData, 1); md->audio_output = audio_output; |