From 02e75a7f7efe038912bb2c583d0a84f4e31781c0 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 8 Feb 2007 15:49:12 +0000 Subject: [PATCH] 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 --- src/xbt/ex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1