summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2014-10-20 23:57:13 +0000
committernicm <nicm>2014-10-20 23:57:13 +0000
commit0a1a88d63caf3a0e8b4440686e73e1f0f690e03c (patch)
tree1ee10586678d88dd53c1ab0551c2011655925894 /cmd-queue.c
parent4c42381410891c43b1326e95f150dfcf637b1e69 (diff)
Better format for printf format attributes.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 77460b2f..6495d3fd 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -57,7 +57,7 @@ cmdq_free(struct cmd_q *cmdq)
}
/* Show message from command. */
-void printflike2
+void
cmdq_print(struct cmd_q *cmdq, const char *fmt, ...)
{
struct client *c = cmdq->client;
@@ -87,7 +87,7 @@ cmdq_print(struct cmd_q *cmdq, const char *fmt, ...)
}
/* Show error from command. */
-void printflike2
+void
cmdq_error(struct cmd_q *cmdq, const char *fmt, ...)
{
struct client *c = cmdq->client;