From: Kern Sibbald Date: Mon, 24 Dec 2007 17:39:46 +0000 (+0000) Subject: More tweaking job_code_callback X-Git-Tag: Release-7.0.0~5252 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=42b6f7bc274ea8c264600700e6b7c15e1f4522f4;p=bacula%2Fbacula More tweaking job_code_callback git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6138 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/protos.h b/bacula/src/dird/protos.h index 482ee7f870..5eeed6e93b 100644 --- a/bacula/src/dird/protos.h +++ b/bacula/src/dird/protos.h @@ -75,7 +75,7 @@ extern void catalog_update(JCR *jcr, BSOCK *bs); /* dird_conf.c */ extern const char *level_to_str(int level); -extern char *job_code_callback_filesetname(JCR *jcr, const char*); +extern "C" char *job_code_callback_filesetname(JCR *jcr, const char*); /* expand.c */ int variable_expansion(JCR *jcr, char *inp, POOLMEM **exp);