diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 17:27:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 17:36:28 +0100 |
commit | 7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch) | |
tree | 7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/ClientList.cxx | |
parent | f2510d60fad1c5811fba3d253ef1c8dabb712304 (diff) | |
download | mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.gz mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.xz mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.zip |
Client: rename the struct client to class Client
Diffstat (limited to 'src/ClientList.cxx')
-rw-r--r-- | src/ClientList.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ClientList.cxx b/src/ClientList.cxx index 0e4876f85..e0fa533d9 100644 --- a/src/ClientList.cxx +++ b/src/ClientList.cxx @@ -37,16 +37,16 @@ client_list_is_full(void) return num_clients >= client_max_connections; } -struct client * +Client * client_list_get_first(void) { assert(clients != NULL); - return (struct client *)clients->data; + return (Client *)clients->data; } void -client_list_add(struct client *client) +client_list_add(Client *client) { clients = g_list_prepend(clients, client); ++num_clients; @@ -59,7 +59,7 @@ client_list_foreach(GFunc func, gpointer user_data) } void -client_list_remove(struct client *client) +client_list_remove(Client *client) { assert(num_clients > 0); assert(clients != NULL); |