]> git.marmaro.de Git - mmh/blobdiff - uip/mhfree.c
When doing an if-test on the result of a function which returns a string
[mmh] / uip / mhfree.c
index 418e5c920a90ff205d86430036e61e41fa66e7ce..df0ee4658eb3f6af5c91c7502da3b3468b8cfe67 100644 (file)
@@ -25,7 +25,7 @@ void free_content (CT);
 void free_header (CT);
 void free_ctinfo (CT);
 void free_encoding (CT, int);
-int freects_done (int);
+void freects_done (int);
 
 /*
  * static prototypes
@@ -287,7 +287,7 @@ free_encoding (CT ct, int toplevel)
 }
 
 
-int
+void
 freects_done (int status)
 {
     CT *ctp;
@@ -297,5 +297,4 @@ freects_done (int status)
            free_content (*ctp);
 
     exit (status);
-    return 1;  /* dead code to satisfy the compiler */
 }