@@@ fltfmt mess
[mLib] / utils / exc.h
index cd3f1c5..47ed9ce 100644 (file)
 
 #include <setjmp.h>
 
+#ifndef MLIB_MACROS_H
+#  include "macros.h"
+#endif
+
 /*----- Quick documentation -----------------------------------------------*
  *
  * This header file provides some exception handling facilities in C
@@ -309,7 +313,7 @@ extern exc__uncaught exc_uncaught(exc__uncaught /*proc*/);
  *             value and throws an exception.
  */
 
-extern void __exc_throw(exc_extype /*type*/, ...);
+extern NORETURN void __exc_throw(exc_extype /*type*/, ...);
 
 /* --- @__exc_rethrow@ --- *
  *
@@ -322,7 +326,7 @@ extern void __exc_throw(exc_extype /*type*/, ...);
  *             an exception.
  */
 
-extern void __exc_rethrow(exc_extype /*type*/, exc_exval /*val*/);
+extern NORETURN void __exc_rethrow(exc_extype /*type*/, exc_exval /*val*/);
 
 /*----- That's all, folks -------------------------------------------------*/