From 80d4d1aa426ab111f611d3716144265d60b05c9a Mon Sep 17 00:00:00 2001 From: cherierm Date: Thu, 8 Feb 2007 15:23:57 +0000 Subject: [PATCH] this is public git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3117 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/ex.h | 2 +- src/xbt/ex.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.20.1