diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-12-02 03:00:02 +0100 |
---|---|---|
committer | Thomas Jansen <mithi@mithi.net> | 2008-12-02 03:00:02 +0100 |
commit | c06ce44768d6fd5a87b97d9c8ab6df10dd692eb6 (patch) | |
tree | 654ac296c574154b71d72e0eabd1a4c4fa123141 /src/client.h | |
parent | e6ae40982e89053a4326058e726422ef7602bd1a (diff) | |
download | mpd-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/client.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client.h b/src/client.h index 9c7031820..196afe7fa 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 <glib.h> #include <stdbool.h> #include <stddef.h> #include <stdarg.h> @@ -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 |