aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-02 03:00:02 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-02 03:00:02 +0100
commitc06ce44768d6fd5a87b97d9c8ab6df10dd692eb6 (patch)
tree654ac296c574154b71d72e0eabd1a4c4fa123141 /src/command.h
parente6ae40982e89053a4326058e726422ef7602bd1a (diff)
downloadmpd-c06ce44768d6fd5a87b97d9c8ab6df10dd692eb6.tar.gz
mpd-c06ce44768d6fd5a87b97d9c8ab6df10dd692eb6.tar.xz
mpd-c06ce44768d6fd5a87b97d9c8ab6df10dd692eb6.zip
replaced mpd_printf etc by G_GNUC_PRINTF
We want to remove gcc.h eventually. This takes care of all the G_GNUC_PRINTF macros.
Diffstat (limited to '')
-rw-r--r--src/command.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/command.h b/src/command.h
index ac557b2fc..b67e9567e 100644
--- a/src/command.h
+++ b/src/command.h
@@ -19,7 +19,6 @@
#ifndef MPD_COMMAND_H
#define MPD_COMMAND_H
-#include "gcc.h"
#include "ack.h"
#include <glib.h>
@@ -47,7 +46,7 @@ command_process(struct client *client, char *commandString);
void command_success(struct client *client);
-mpd_fprintf_ void command_error(struct client *client, enum ack error,
- const char *fmt, ...);
+G_GNUC_PRINTF(3, 4) void command_error(struct client *client, enum ack error,
+ const char *fmt, ...);
#endif