]> git.sur5r.net Git - bacula/bacula/commitdiff
More tweaking job_code_callback
authorKern Sibbald <kern@sibbald.com>
Mon, 24 Dec 2007 17:39:46 +0000 (17:39 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 24 Dec 2007 17:39:46 +0000 (17:39 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6138 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/protos.h

index 482ee7f870a5b0d8ffd83da3ed91015cf58cdccd..5eeed6e93b25e057cc569389ada89b2ab67c9f81 100644 (file)
@@ -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);