aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 11:01:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 11:01:02 +0100
commit7e07daf8cb8dd19f386e121cba989013ba86407c (patch)
tree4648abfd1ed4b111c3570df76fb0dacf8cf3017f /src
parent981906ecd1b25012ca5aeafb678f6ec4a42aa9a2 (diff)
downloadmpd-7e07daf8cb8dd19f386e121cba989013ba86407c.tar.gz
mpd-7e07daf8cb8dd19f386e121cba989013ba86407c.tar.xz
mpd-7e07daf8cb8dd19f386e121cba989013ba86407c.zip
ls: convert to C++
Diffstat (limited to '')
-rw-r--r--src/ls.cxx (renamed from src/ls.c)5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.cxx
index 90e5fc66e..00edb2bb5 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,12 @@
*/
#include "config.h"
+
+extern "C" {
#include "ls.h"
#include "uri.h"
#include "client.h"
+}
#include <glib.h>