From c06ce44768d6fd5a87b97d9c8ab6df10dd692eb6 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Tue, 2 Dec 2008 03:00:02 +0100 Subject: 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. --- src/command.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index ac557b2f..b67e9567 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 @@ -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 -- cgit v1.2.3