Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the keyword extern to avoid the multiple declaration of the the variables...
[simgrid.git] / include / xbt / misc.h
index 44a3b79..cb1ef33 100644 (file)
 #  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)