Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
on the way for 3.22.2
[simgrid.git] / include / xbt / ex.h
index 0ba034c65f6d336fd0b80f934737c53a924c2b13..c37ff4719a66f20227bffdb7187bf737291e309c 100644 (file)
@@ -52,8 +52,6 @@ SG_BEGIN_DECL()
  */
 XBT_PUBLIC const char* xbt_ex_catname(xbt_errcat_t cat);
 
-typedef struct xbt_ex xbt_ex_t;
-
 /** Helper function used to throw exceptions in C */
 XBT_ATTRIB_NORETURN XBT_PUBLIC void _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file,
                                                int line, const char* func);
@@ -79,7 +77,7 @@ XBT_ATTRIB_NORETURN void xbt_throw_impossible(const char* file, int line, const
 /** Throw an exception because something unimplemented stuff has been attempted
  *  @ingroup XBT_ex_c
  */
-XBT_ATTRIB_NORETURN void xbt_throw_unimplemented(const char* file, int line, const char* func);
+XBT_ATTRIB_NORETURN XBT_PUBLIC void xbt_throw_unimplemented(const char* file, int line, const char* func);
 #define THROW_UNIMPLEMENTED xbt_throw_unimplemented(__FILE__, __LINE__, __func__)
 
 /** Die because something impossible happened