From a91dc4447bb6c6bd8807aaaa4e00af0abe4fa5c7 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Wed, 23 Apr 2014 09:03:38 -0700 Subject: [PATCH] daemon: Rename daemon.c as daemon-unix.c An upcoming commit re-introduces daemon.c to have common functions across daemon-unix.c and daemon-windows.c Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- lib/automake.mk | 2 +- lib/{daemon.c => daemon-unix.c} | 2 +- lib/daemon-windows.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename lib/{daemon.c => daemon-unix.c} (99%) diff --git a/lib/automake.mk b/lib/automake.mk index fcd2c5b58..e904f8836 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -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 \ diff --git a/lib/daemon.c b/lib/daemon-unix.c similarity index 99% rename from lib/daemon.c rename to lib/daemon-unix.c index c1c6550a9..74914a435 100644 --- a/lib/daemon.c +++ b/lib/daemon-unix.c @@ -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? */ diff --git a/lib/daemon-windows.c b/lib/daemon-windows.c index 0893755ae..f059fc519 100644 --- a/lib/daemon-windows.c +++ b/lib/daemon-windows.c @@ -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? */ -- 2.43.0