Commit 215cdda0 authored by Avuton Olrich's avatar Avuton Olrich Committed by Max Kellermann

client: client_write() does not necessary for export.

parent e81f683a
......@@ -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))
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment