From 089cf09003bf75e0bea78f8b9533cdb8d089069f Mon Sep 17 00:00:00 2001 From: cherierm Date: Mon, 22 Oct 2007 09:18:51 +0000 Subject: [PATCH 1/1] 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 --- include/xbt/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1