From: mquinson Date: Thu, 8 Feb 2007 15:49:12 +0000 (+0000) Subject: Initialized globals must not be imported, only exported X-Git-Tag: v3.3~2239 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/02e75a7f7efe038912bb2c583d0a84f4e31781c0?hp=5ec9ff96c79c72228eb7db6fe8c61840389410da Initialized globals must not be imported, only exported git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3120 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/ex.c b/src/xbt/ex.c index e4c522c4c6..934bfe9af1 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -267,8 +267,8 @@ void __xbt_ex_terminate_default(xbt_ex_t *e) { } /* the externally visible API */ -XBT_PUBLIC(ex_ctx_cb_t) __xbt_ex_ctx = &__xbt_ex_ctx_default; -XBT_PUBLIC(ex_term_cb_t) __xbt_ex_terminate = &__xbt_ex_terminate_default; +XBT_PUBLIC_NO_IMPORT(ex_ctx_cb_t) __xbt_ex_ctx = &__xbt_ex_ctx_default; +XBT_PUBLIC_NO_IMPORT(ex_term_cb_t) __xbt_ex_terminate = &__xbt_ex_terminate_default; void xbt_ex_free(xbt_ex_t e) { int i;