Skip to content

Commit

Permalink
Only have bpipe-fd.c once and use it for UNIX and Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent 091375c commit 7802922
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 538 deletions.
4 changes: 2 additions & 2 deletions src/plugins/fd/bpipe-fd.c
Expand Up @@ -122,7 +122,7 @@ extern "C" {
/*
* External entry point called by Bareos to "load" the plugin
*/
bRC loadPlugin(bInfo *lbinfo, bFuncs *lbfuncs, genpInfo **pinfo, pFuncs **pfuncs)
bRC DLL_IMP_EXP loadPlugin(bInfo *lbinfo, bFuncs *lbfuncs, genpInfo **pinfo, pFuncs **pfuncs)
{
bfuncs = lbfuncs; /* set Bareos funct pointers */
binfo = lbinfo;
Expand All @@ -135,7 +135,7 @@ bRC loadPlugin(bInfo *lbinfo, bFuncs *lbfuncs, genpInfo **pinfo, pFuncs **pfuncs
/*
* External entry point to unload the plugin
*/
bRC unloadPlugin()
bRC DLL_IMP_EXP unloadPlugin()
{
// printf("bpipe-fd: Unloaded\n");
return bRC_OK;
Expand Down
2 changes: 1 addition & 1 deletion src/win32/plugins/fd/Makefile
@@ -1,4 +1,4 @@
VPATH = .
VPATH = .:../../../plugins/filed

DEFINES = -DHAVE_WIN32 \
-DHAVE_MINGW \
Expand Down

0 comments on commit 7802922

Please sign in to comment.