]> git.marmaro.de Git - mmh/blobdiff - uip/mhlist.c
When building on gcc, use noreturn attribute on adios and the various done
[mmh] / uip / mhlist.c
index 112c09840e621e56a43e6cfbc3c71840dcb30a8e..4bb21bb59fad65d366268c5dac6ec140b7ff70a6 100644 (file)
@@ -110,7 +110,7 @@ void list_all_messages (CT *, int, int, int, int);
 /* mhfree.c */
 void free_content (CT);
 extern CT *cts;
-int freects_done (int);
+void freects_done (int) NORETURN;
 
 /*
  * static prototypes
@@ -373,7 +373,8 @@ do_cache:
        context_save ();                  /* save the context file  */
     }
 
-    return done (0);
+    done (0);
+    return 1;
 }