aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-03-29 10:58:15 -0700
committerMax Kellermann <max@duempel.org>2009-03-30 19:21:41 +0200
commit96ab110b44bf2f3445e15f5afcb80439b9da6242 (patch)
tree10461416dc1540233b5370857372ae430778e44c
parent215cdda08d3b69c3a58a6b783e4c8b14a3277d5f (diff)
downloadmpd-96ab110b44bf2f3445e15f5afcb80439b9da6242.tar.gz
mpd-96ab110b44bf2f3445e15f5afcb80439b9da6242.tar.xz
mpd-96ab110b44bf2f3445e15f5afcb80439b9da6242.zip
command: command_error() is not necessary for export.
-rw-r--r--src/command.c2
-rw-r--r--src/command.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/command.c b/src/command.c
index d4363ff65..762db37b3 100644
--- a/src/command.c
+++ b/src/command.c
@@ -122,7 +122,7 @@ static void command_error_v(struct client *client, enum ack error,
current_command = NULL;
}
-G_GNUC_PRINTF(3, 4) void command_error(struct client *client, enum ack error,
+G_GNUC_PRINTF(3, 4) static void command_error(struct client *client, enum ack error,
const char *fmt, ...)
{
va_list args;
diff --git a/src/command.h b/src/command.h
index 7e03e36dd..a7c408ed7 100644
--- a/src/command.h
+++ b/src/command.h
@@ -47,7 +47,4 @@ command_process(struct client *client, char *commandString);
void command_success(struct client *client);
-G_GNUC_PRINTF(3, 4) void command_error(struct client *client, enum ack error,
- const char *fmt, ...);
-
#endif