summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-17 16:02:48 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-17 16:02:48 +0100
commit7c1d830045ea25ad3537e68b72900600d02fd135 (patch)
tree7287e020f05daa5c3fa6a5d6534f989a61a76793 /src/daemon
parentd2b1bd190c039c817ca6432a4b6a66c1e8db116f (diff)
downloadwolfbones-7c1d830045ea25ad3537e68b72900600d02fd135.tar.gz
wolfbones-7c1d830045ea25ad3537e68b72900600d02fd135.tar.bz2
moved the logger (log and messages) into it's own subdirectory (is a subsystem of wolf in the end)
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/daemon.c4
-rw-r--r--src/daemon/pidfile.c5
-rw-r--r--src/daemon/signals.c14
3 files changed, 12 insertions, 11 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 1952ce2..a605f18 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -5,8 +5,8 @@
#include "port/noreturn.h" /* for NORETURN */
#include "errors.h"
-#include "log.h"
-#include "messages.h"
+#include "log/log.h"
+#include "log/messages.h"
#include "daemon/daemon.h"
#include "daemon/daemon_internal.h"
diff --git a/src/daemon/pidfile.c b/src/daemon/pidfile.c
index 41386ef..1af1117 100644
--- a/src/daemon/pidfile.c
+++ b/src/daemon/pidfile.c
@@ -7,9 +7,10 @@
#include "port/gettext.h" /* for i18n */
#include "pidfile.h"
-#include "log.h"
+
#include "errors.h"
-#include "messages.h" /* for i18n */
+#include "log/log.h"
+#include "log/messages.h" /* for i18n */
#include <stdlib.h> /* for strtol */
#include <errno.h> /* for errno */
diff --git a/src/daemon/signals.c b/src/daemon/signals.c
index d51fad4..09dca20 100644
--- a/src/daemon/signals.c
+++ b/src/daemon/signals.c
@@ -1,18 +1,18 @@
#include "port/sys_internal.h"
#include "port/string.h" /* for memset */
-#include "messages.h" /* for i18n */
-
-#include <unistd.h> /* for getpid, pipe, write, read */
-#include <errno.h> /* for errno */
-#include <sys/types.h> /* for ssize_t */
-#include <sys/select.h> /* for FD_XX and select */
#include "errors.h"
-#include "log.h"
+#include "log/log.h"
+#include "log/messages.h" /* for i18n */
#include "daemon/signals.h"
#include "port/unused.h"
+#include <unistd.h> /* for getpid, pipe, write, read */
+#include <errno.h> /* for errno */
+#include <sys/types.h> /* for ssize_t */
+#include <sys/select.h> /* for FD_XX and select */
+
const char *wolf_signal_get_short_name( int sig ) {
switch( sig ) {
case SIGHUP: return "SIGHUP";