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.
This commit is contained in:
Thomas Jansen
2008-12-02 03:00:02 +01:00
parent e6ae40982e
commit c06ce44768
6 changed files with 17 additions and 21 deletions

View File

@@ -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