]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/res.c
o fix : restore a crypted stream on a fd witch doen't define keys cause
[bacula/bacula] / bacula / src / lib / res.c
index 9c6e360100e924e4c047eb1af7addc49aec28edc..c35fb68ee5c7d4dd8ecbb59c44060f22354bba68 100644 (file)
@@ -34,17 +34,6 @@ extern int r_last;
 extern RES_TABLE resources[];
 extern RES **res_head;
 
-#ifdef HAVE_WIN32
-// work around visual studio name manling preventing external linkage since res_all
-// is declared as a different type when instantiated.
-extern "C" CURES res_all;
-extern "C" int res_all_size;
-#else
-extern  CURES res_all;
-extern int res_all_size;
-#endif
-
-
 brwlock_t res_lock;                   /* resource lock */
 static int res_locked = 0;            /* set when resource chains locked -- for debug */