Client: make client_vprintf() static

This commit is contained in:
Max Kellermann
2017-02-03 20:47:41 +01:00
parent 16b260e371
commit 82e74a4ebd
2 changed files with 2 additions and 7 deletions

View File

@@ -23,6 +23,7 @@
#include "util/AllocatedString.hxx"
#include <string.h>
#include <stdarg.h>
bool
Client::Write(const void *data, size_t length)
@@ -37,7 +38,7 @@ Client::Write(const char *data)
return Write(data, strlen(data));
}
void
static void
client_vprintf(Client &client, const char *fmt, va_list args)
{
client.Write(FormatStringV(fmt, args).c_str());