diff options
Diffstat (limited to '')
-rw-r--r-- | src/ClientGlobal.cxx (renamed from src/client_global.c) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/client_global.c b/src/ClientGlobal.cxx index adf3b2f9e..1aa82b435 100644 --- a/src/client_global.c +++ b/src/ClientGlobal.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -18,7 +18,8 @@ */ #include "config.h" -#include "client_internal.h" +#include "ClientInternal.hxx" +#include "ClientList.hxx" #include "conf.h" #include <assert.h> @@ -55,9 +56,9 @@ void client_manager_init(void) static void client_close_all(void) { while (!client_list_is_empty()) { - struct client *client = client_list_get_first(); + Client *client = client_list_get_first(); - client_close(client); + client->Close(); } assert(client_list_is_empty()); |