X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhstore.c;h=74442ad5a4fb6fc32d655868f3993ae9dbee3655;hp=6a268f237697d84d7bc2f78cdde0617a759e917f;hb=2abb9a7cfb0930e27062088734d306e7d78e4cc2;hpb=5a12e4b0477d3ad699f5713682d26079f2792d17 diff --git a/uip/mhstore.c b/uip/mhstore.c index 6a268f2..74442ad 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -15,6 +15,9 @@ #include #include #include +#include +#include +#include static struct swit switches[] = { #define AUTOSW 0 @@ -129,7 +132,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]);