--- src/client.c | 5 ++++- src/client.h | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/client.c b/src/client.c index 65dc858..369390b 100644 --- a/src/client.c +++ b/src/client.c @@ -773,7 +773,10 @@ static void client_write_output(struct client *client) client->send_buf_used = 0; } -void client_write(struct client *client, const char *buffer, size_t buflen) +/** + * Write a block of data to the client. + */ +static void client_write(struct client *client, const char *buffer, size_t buflen) { /* if the client is going to be closed, do nothing */ if (client_is_expired(client)) diff --git a/src/client.h b/src/client.h index c992dab..824497a 100644 --- a/src/client.h +++ b/src/client.h @@ -46,11 +46,6 @@ unsigned client_get_permission(const struct client *client); void client_set_permission(struct client *client, unsigned permission); /** - * Write a block of data to the client. - */ -void client_write(struct client *client, const char *data, size_t length); - -/** * Write a C string to the client. */ void client_puts(struct client *client, const char *s); -- 1.6.1.3 ------------------------------------------------------------------------------ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team