Skip to content

Commit

Permalink
daemon: Rename daemon.c as daemon-unix.c
Browse files Browse the repository at this point in the history
An upcoming commit re-introduces daemon.c to have
common functions across daemon-unix.c and daemon-windows.c

Signed-off-by: Gurucharan Shetty <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
shettyg committed Apr 24, 2014
1 parent bbbca38 commit a91dc44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion lib/daemon.c → lib/daemon-unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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? */
Expand Down
2 changes: 1 addition & 1 deletion lib/daemon-windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -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? */
Expand Down

0 comments on commit a91dc44

Please sign in to comment.