aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.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/client.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 'src/client.h')
-rw-r--r--src/client.h5
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