Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this is public
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Feb 2007 15:23:57 +0000 (15:23 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Feb 2007 15:23:57 +0000 (15:23 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3117 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/ex.h
src/xbt/ex.c

index 4586d76..339848c 100644 (file)
@@ -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 <errno.h>
index 56f5901..e4c522c 100644 (file)
@@ -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;