daemon: Rename daemon.c as daemon-unix.c
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 23 Apr 2014 16:03:38 +0000 (09:03 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Thu, 24 Apr 2014 21:42:46 +0000 (14:42 -0700)
An upcoming commit re-introduces daemon.c to have
common functions across daemon-unix.c and daemon-windows.c

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/automake.mk
lib/daemon-unix.c [moved from lib/daemon.c with 99% similarity]
lib/daemon-windows.c

index fcd2c5b..e904f88 100644 (file)
@@ -251,7 +251,7 @@ lib_libopenvswitch_la_SOURCES += \
        lib/stream-fd-windows.c
 else
 lib_libopenvswitch_la_SOURCES += \
-       lib/daemon.c \
+       lib/daemon-unix.c \
        lib/latch-unix.c \
        lib/signals.c \
        lib/signals.h \
similarity index 99%
rename from lib/daemon.c
rename to lib/daemon-unix.c
index c1c6550..74914a4 100644 (file)
@@ -36,7 +36,7 @@
 #include "util.h"
 #include "vlog.h"
 
-VLOG_DEFINE_THIS_MODULE(daemon);
+VLOG_DEFINE_THIS_MODULE(daemon_unix);
 
 /* --detach: Should we run in the background? */
 static bool detach;             /* Was --detach specified? */
index 0893755..f059fc5 100644 (file)
@@ -21,7 +21,7 @@
 #include "poll-loop.h"
 #include "vlog.h"
 
-VLOG_DEFINE_THIS_MODULE(daemon);
+VLOG_DEFINE_THIS_MODULE(daemon_windows);
 
 static bool service_create;          /* Was --service specified? */
 static bool service_started;         /* Have we dispatched service to start? */