From 7a982169c9dc3a673e922e7f3b9b73368cef0aae Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 3 Jan 2013 17:27:26 +0100 Subject: Client: rename the struct client to class Client --- src/ClientNew.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ClientNew.cxx') diff --git a/src/ClientNew.cxx b/src/ClientNew.cxx index bccabede9..5830a728e 100644 --- a/src/ClientNew.cxx +++ b/src/ClientNew.cxx @@ -50,7 +50,7 @@ client_new(struct player_control *player_control, int fd, const struct sockaddr *sa, size_t sa_length, int uid) { static unsigned int next_client_num; - struct client *client; + Client *client; char *remote; assert(player_control != NULL); @@ -87,7 +87,7 @@ client_new(struct player_control *player_control, return; } - client = g_new0(struct client, 1); + client = g_new0(Client, 1); client->player_control = player_control; client->channel = g_io_channel_new_socket(fd); @@ -143,7 +143,7 @@ deferred_buffer_free(gpointer data, G_GNUC_UNUSED gpointer user_data) } void -client_close(struct client *client) +client_close(Client *client) { client_list_remove(client); -- cgit v1.2.3