When building on gcc, use noreturn attribute on adios and the various done
[mmh] / uip / mhtest.c
index 6771bdb..d8c025f 100644 (file)
@@ -106,7 +106,7 @@ void flush_errors (void);
 /* mhfree.c */
 void free_content (CT);
 extern CT *cts;
-int freects_done (int);
+void freects_done (int) NORETURN;
 
 /*
  * static prototypes
@@ -364,7 +364,8 @@ do_cache:
        context_save ();                  /* save the context file  */
     }
 
-    return done (0);
+    done (0);
+    return 1;
 }