]> git.marmaro.de Git - mmh/blobdiff - uip/mhtest.c
When building on gcc, use noreturn attribute on adios and the various done
[mmh] / uip / mhtest.c
index 6771bdb825c9d351e51eb0a5c19078bda62eaffc..d8c025fa04a56113982dc350b2464fd08b04418c 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;
 }