From: cherierm Date: Thu, 8 Feb 2007 15:23:57 +0000 (+0000) Subject: this is public X-Git-Tag: v3.3~2242 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/80d4d1aa426ab111f611d3716144265d60b05c9a this is public git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3117 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/ex.h b/include/xbt/ex.h index 4586d76efc..339848c1bd 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -19,7 +19,7 @@ /* do not include execinfo.h directly since it's not always available. Instead, copy the parts we need (and fake when it's not there) */ -extern int backtrace (void **__array, int __size); +XBT_PUBLIC(int) backtrace (void **__array, int __size); /* required ISO-C standard facilities */ #include diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 56f5901bf5..e4c522c4c6 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 */ -ex_ctx_cb_t __xbt_ex_ctx = &__xbt_ex_ctx_default; -ex_term_cb_t __xbt_ex_terminate = &__xbt_ex_terminate_default; +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; void xbt_ex_free(xbt_ex_t e) { int i;