aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ls.cxx (renamed from src/ls.c)14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/ls.c b/src/ls.cxx
index 310c2d7b6..9bb56c898 100644
--- a/src/ls.c
+++ b/src/ls.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,9 +18,15 @@
*/
#include "config.h"
-#include "ls.h"
+#include "ls.hxx"
+
+extern "C" {
#include "uri.h"
-#include "client.h"
+}
+
+#include "Client.hxx"
+
+#include <glib.h>
#include <assert.h>
#include <string.h>
@@ -72,7 +78,7 @@ void print_supported_uri_schemes_to_fp(FILE *fp)
fprintf(fp,"\n");
}
-void print_supported_uri_schemes(struct client *client)
+void print_supported_uri_schemes(Client *client)
{
const char **prefixes = remoteUrlPrefixes;