remove declaration of child_id in slocal:usr_pipe
[mmh] / uip / mhstore.c
index 5b56b09..63fa5ab 100644 (file)
@@ -10,7 +10,6 @@
 #include <fcntl.h>
 #include <h/signals.h>
 #include <errno.h>
-#include <setjmp.h>
 #include <signal.h>
 #include <h/tws.h>
 #include <h/mime.h>
@@ -130,7 +129,9 @@ main(int argc, char **argv)
        CT ct, *ctp;
        FILE *fp;
 
-       atexit(freects_done);
+       if (atexit(freects_done) != 0) {
+               adios(NULL, "atexit failed");
+       }
 
        setlocale(LC_ALL, "");
        invo_name = mhbasename(argv[0]);