From: cherierm Date: Mon, 22 Oct 2007 09:18:51 +0000 (+0000) Subject: Remove the keyword extern to avoid the multiple declaration of the the variables... X-Git-Tag: v3.3~957 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/089cf09003bf75e0bea78f8b9533cdb8d089069f?ds=sidebyside;hp=f0886ea4ab50491bd7cf056d8ed576cd939acd3e Remove the keyword extern to avoid the multiple declaration of the the variables declared with the macro XBT_PUBLIC_DATA; git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4843 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 44a3b79ba1..cb1ef332cb 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -149,7 +149,7 @@ # define XBT_PUBLIC(type) extern type # define XBT_EXPORT_NO_IMPORT(type) type # define XBT_IMPORT_NO_EXPORT(type) type -# define XBT_PUBLIC_DATA(type) extern type +# define XBT_PUBLIC_DATA(type) type #endif #if !defined (max) && !defined(__cplusplus)