diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 11:05:44 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 11:05:44 +0100 |
commit | e30a2dd2d7b7749562ba01bc004c6005c8401a12 (patch) | |
tree | c55d45f4ea0a6103f3b9d721057da50b83a5ce23 /src/Listen.cxx | |
parent | 7e07daf8cb8dd19f386e121cba989013ba86407c (diff) | |
download | mpd-e30a2dd2d7b7749562ba01bc004c6005c8401a12.tar.gz mpd-e30a2dd2d7b7749562ba01bc004c6005c8401a12.tar.xz mpd-e30a2dd2d7b7749562ba01bc004c6005c8401a12.zip |
listen: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/Listen.cxx (renamed from src/listen.c) | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/listen.c b/src/Listen.cxx index 28709a0e1..90cfe5a03 100644 --- a/src/listen.c +++ b/src/Listen.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,11 +18,14 @@ */ #include "config.h" -#include "listen.h" +#include "Listen.hxx" +#include "Main.hxx" + +extern "C" { #include "server_socket.h" #include "client.h" #include "conf.h" -#include "Main.hxx" +} #include <string.h> #include <assert.h> |