aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientGlobal.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ClientGlobal.cxx (renamed from src/client_global.c)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client_global.c b/src/ClientGlobal.cxx
index adf3b2f9e..10c78f1f1 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,8 +18,11 @@
*/
#include "config.h"
-#include "client_internal.h"
+#include "ClientInternal.hxx"
+
+extern "C" {
#include "conf.h"
+}
#include <assert.h>
@@ -55,7 +58,7 @@ 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);
}