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/client.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 9c703182..196afe7f 100644 --- a/src/client.h +++ b/src/client.h @@ -19,8 +19,7 @@ #ifndef MPD_CLIENT_H #define MPD_CLIENT_H -#include "gcc.h" - +#include #include #include #include @@ -65,7 +64,7 @@ void client_vprintf(struct client *client, const char *fmt, va_list args); /** * Write a printf-like formatted string to the client. */ -mpd_fprintf void client_printf(struct client *client, const char *fmt, ...); +G_GNUC_PRINTF(2, 3) void client_printf(struct client *client, const char *fmt, ...); /** * Adds the specified idle flags to all clients and immediately sends -- cgit v1.2.3