aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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