X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Flib%2Fres.c;h=c35fb68ee5c7d4dd8ecbb59c44060f22354bba68;hb=95c6245affef4000580427d5e0855227dedcd9dc;hp=83408ba7be6c4eac32813e7a62545860bcb37638;hpb=043dfdbe5bb4cec577c9000959f051b83c270b08;p=bacula%2Fbacula diff --git a/bacula/src/lib/res.c b/bacula/src/lib/res.c index 83408ba7be..c35fb68ee5 100644 --- a/bacula/src/lib/res.c +++ b/bacula/src/lib/res.c @@ -7,7 +7,7 @@ * Version $Id$ */ /* - Copyright (C) 2000-2005 Kern Sibbald + Copyright (C) 2000-2006 Kern Sibbald This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -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 */