From: Kern Sibbald Date: Sat, 27 Mar 2010 08:07:27 +0000 (+0100) Subject: Reduce compiler warnings for Win32 plugins + tweak bpipe-fd X-Git-Tag: Release-5.2.1~1569 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e87d7a8baba898b82f653226f172a9f51fba755b;p=bacula%2Fbacula Reduce compiler warnings for Win32 plugins + tweak bpipe-fd --- 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);