aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-24 16:12:10 +0100
committerMax Kellermann <max@duempel.org>2014-01-24 16:37:21 +0100
commit299ff2b23ffbd3c4511768f7bfbf427315b0650d (patch)
tree3526fed9c53eacabc5c2541bf6d69e58ddf8ca95
parentf8bfea8bae44134e8002db869fd4ec137d1c0d6e (diff)
downloadmpd-299ff2b23ffbd3c4511768f7bfbf427315b0650d.tar.gz
mpd-299ff2b23ffbd3c4511768f7bfbf427315b0650d.tar.xz
mpd-299ff2b23ffbd3c4511768f7bfbf427315b0650d.zip
move daemonization code to unix/
-rw-r--r--Makefile.am6
-rw-r--r--src/Main.cxx4
-rw-r--r--src/unix/Daemon.cxx (renamed from src/Daemon.cxx)0
-rw-r--r--src/unix/Daemon.hxx (renamed from src/Daemon.hxx)0
-rw-r--r--src/unix/PidFile.hxx (renamed from src/PidFile.hxx)0
-rw-r--r--src/unix/SignalHandlers.cxx (renamed from src/SignalHandlers.cxx)0
-rw-r--r--src/unix/SignalHandlers.hxx (renamed from src/SignalHandlers.hxx)0
7 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index cd2c4c555..debdbab40 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -157,8 +157,9 @@ src_mpd_SOURCES = \
src/Instance.cxx src/Instance.hxx \
src/Win32Main.cxx \
src/GlobalEvents.cxx src/GlobalEvents.hxx \
- src/Daemon.cxx src/Daemon.hxx \
- src/PidFile.hxx \
+ src/unix/SignalHandlers.cxx src/unix/SignalHandlers.hxx \
+ src/unix/Daemon.cxx src/unix/Daemon.hxx \
+ src/unix/PidFile.hxx \
src/AudioCompress/compress.c \
src/MixRampInfo.hxx \
src/MusicBuffer.cxx src/MusicBuffer.hxx \
@@ -194,7 +195,6 @@ src_mpd_SOURCES = \
src/queue/QueueSave.cxx src/queue/QueueSave.hxx \
src/ReplayGainConfig.cxx src/ReplayGainConfig.hxx \
src/ReplayGainInfo.cxx src/ReplayGainInfo.hxx \
- src/SignalHandlers.cxx src/SignalHandlers.hxx \
src/DetachedSong.cxx src/DetachedSong.hxx \
src/LightSong.cxx src/LightSong.hxx \
src/LightDirectory.hxx \
diff --git a/src/Main.cxx b/src/Main.cxx
index 94b510de3..912e28a62 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -41,7 +41,6 @@
#include "tag/TagConfig.hxx"
#include "ReplayGainConfig.hxx"
#include "Idle.hxx"
-#include "SignalHandlers.hxx"
#include "Log.hxx"
#include "LogInit.hxx"
#include "GlobalEvents.hxx"
@@ -56,7 +55,8 @@
#include "decoder/DecoderList.hxx"
#include "AudioConfig.hxx"
#include "pcm/PcmConvert.hxx"
-#include "Daemon.hxx"
+#include "unix/SignalHandlers.hxx"
+#include "unix/Daemon.hxx"
#include "system/FatalError.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
diff --git a/src/Daemon.cxx b/src/unix/Daemon.cxx
index 490b2def5..490b2def5 100644
--- a/src/Daemon.cxx
+++ b/src/unix/Daemon.cxx
diff --git a/src/Daemon.hxx b/src/unix/Daemon.hxx
index fe5681511..fe5681511 100644
--- a/src/Daemon.hxx
+++ b/src/unix/Daemon.hxx
diff --git a/src/PidFile.hxx b/src/unix/PidFile.hxx
index a242c7810..a242c7810 100644
--- a/src/PidFile.hxx
+++ b/src/unix/PidFile.hxx
diff --git a/src/SignalHandlers.cxx b/src/unix/SignalHandlers.cxx
index 4aef4fa71..4aef4fa71 100644
--- a/src/SignalHandlers.cxx
+++ b/src/unix/SignalHandlers.cxx
diff --git a/src/SignalHandlers.hxx b/src/unix/SignalHandlers.hxx
index 551b373c1..551b373c1 100644
--- a/src/SignalHandlers.hxx
+++ b/src/unix/SignalHandlers.hxx