client: client_write() does not necessary for export.

This commit is contained in:
Avuton Olrich 2009-03-29 10:58:14 -07:00 committed by Max Kellermann
parent e81f683a18
commit 215cdda08d
2 changed files with 4 additions and 6 deletions

View File

@ -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))

View File

@ -45,11 +45,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.
*/