When building on gcc, use noreturn attribute on adios and the various done
[mmh] / uip / mhlist.c
index 112c098..4bb21bb 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;
 }