From e87d7a8baba898b82f653226f172a9f51fba755b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 27 Mar 2010 09:07:27 +0100 Subject: [PATCH] Reduce compiler warnings for Win32 plugins + tweak bpipe-fd --- bacula/src/win32/filed/plugins/Makefile | 2 +- bacula/src/win32/filed/plugins/bpipe-fd.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bacula/src/win32/filed/plugins/Makefile b/bacula/src/win32/filed/plugins/Makefile index dba4b9cab8..63ae13a325 100644 --- a/bacula/src/win32/filed/plugins/Makefile +++ b/bacula/src/win32/filed/plugins/Makefile @@ -110,7 +110,7 @@ $(BINDIR)/exchange-fd.dll: $(EXCHANGE_OBJS) exchange-fd.def $(BINDIR)/systemstate-fd.dll: DLL_DEFINE=BUILDING_DLL -$(BINDIR)/systemstate-fd.dll: $(SYSTEMSTATE_OBJS) systemstate-fd.def +$(BINDIR)/systemstate-fd.dll: $(SYSTEMSTATE_OBJS) systemstate-fd.def $(LIBS_BACULA) @echo "Linking $@" $(call checkdir,$@) $(ECHO_CMD)$(CXX) $(LDFLAGS) -mdll -mwindows -Wl,--out-implib,$(OBJDIR)/systemstate-fd.a $^ $(LIBS_DLL) -o $@ diff --git a/bacula/src/win32/filed/plugins/bpipe-fd.c b/bacula/src/win32/filed/plugins/bpipe-fd.c index be61fa3e5d..b5de40486f 100644 --- a/bacula/src/win32/filed/plugins/bpipe-fd.c +++ b/bacula/src/win32/filed/plugins/bpipe-fd.c @@ -29,6 +29,7 @@ * A simple pipe plugin for the Bacula File Daemon * * Kern Sibbald, October 2007 + * Copied into Windows plugin environment March, 2010 (KES) * */ #include "bacula.h" @@ -49,9 +50,9 @@ static const int dbglvl = 150; #define PLUGIN_LICENSE "Bacula GPLv2" #define PLUGIN_AUTHOR "Kern Sibbald" -#define PLUGIN_DATE "January 2008" +#define PLUGIN_DATE "January 2010" #define PLUGIN_VERSION "1" -#define PLUGIN_DESCRIPTION "Bacula Pipe File Daemon Plugin" +#define PLUGIN_DESCRIPTION "Bacula Pipe Windows File Daemon Plugin" /* Forward referenced functions */ static bRC newPlugin(bpContext *ctx); -- 2.39.5