]> AND Public Git Repository - simgrid.git/blobdiff - include/xbt/ex.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Mac does not find the prototype of getline
[simgrid.git] / include / xbt / ex.h
index 6dacb0ff374058bae08cbe9d9f57c60131f43657..9a0e7284e5832fb2af1e6f3ebef5ad88db4c3e27 100644 (file)
@@ -307,12 +307,12 @@ typedef struct {
 
 /* the exception context */
 typedef ex_ctx_t *(*ex_ctx_cb_t)(void);
-extern XBT_PUBLIC_DATA(ex_ctx_cb_t) __xbt_ex_ctx;
+XBT_PUBLIC_DATA(ex_ctx_cb_t) __xbt_ex_ctx;
 extern ex_ctx_t *__xbt_ex_ctx_default(void);
 
 /* the termination handler */
 typedef void (*ex_term_cb_t)(xbt_ex_t *);
-extern XBT_PUBLIC_DATA(ex_term_cb_t) __xbt_ex_terminate;
+XBT_PUBLIC_DATA(ex_term_cb_t) __xbt_ex_terminate;
 extern void __xbt_ex_terminate_default(xbt_ex_t *e);
 
 /** @brief Introduce a block where exception may be dealed with