From 95c3f57b3027e0961a1e32036dcce0383fb5e6ee Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 27 Jan 2013 22:18:45 +0100 Subject: zeroconf: convert to C++ --- src/Main.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Main.cxx') diff --git a/src/Main.cxx b/src/Main.cxx index 6cf9c3457..828462019 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -49,6 +49,7 @@ #include "IOThread.hxx" #include "fs/Path.hxx" #include "PlaylistRegistry.hxx" +#include "ZeroconfGlue.hxx" extern "C" { #include "daemon.h" @@ -56,7 +57,6 @@ extern "C" { #include "audio_config.h" #include "pcm_resample.h" #include "decoder_list.h" -#include "zeroconf.h" } #include "mpd_error.h" @@ -490,7 +490,7 @@ int mpd_main(int argc, char *argv[]) return EXIT_FAILURE; } - initZeroconf(); + ZeroconfInit(); player_create(&global_partition->pc); @@ -551,7 +551,7 @@ int mpd_main(int argc, char *argv[]) } global_partition->pc.Kill(); - finishZeroconf(); + ZeroconfDeinit(); listen_global_finish(); delete client_list; -- cgit v1.2.3