gcc.h: re-add gcc_const and gcc_pure

Remove GLib dependency from some headers.
This commit is contained in:
Max Kellermann
2012-08-02 18:15:49 +02:00
parent edf811fa02
commit 8e331cfc65
28 changed files with 124 additions and 93 deletions

View File

@@ -21,10 +21,9 @@
#define MPD_PROTOCOL_RESULT_H
#include "check.h"
#include "gcc.h"
#include "ack.h"
#include <glib.h>
struct client;
extern const char *current_command;
@@ -37,7 +36,7 @@ void
command_error_v(struct client *client, enum ack error,
const char *fmt, va_list args);
G_GNUC_PRINTF(3, 4)
gcc_fprintf_
void
command_error(struct client *client, enum ack error, const char *fmt, ...);