#include <h/signals.h>
#include <errno.h>
#include <signal.h>
+#include <h/mts.h>
static struct swit switches[] = {
#define CRETSW 0
#define VERSIONSW 9
{ "version", 0 },
#define HELPSW 10
- { "help", 4 },
+ { "help", 0 },
{ NULL, 0 }
};
unlink (tmpfilenam); /* remove temporary file */
tmpfilenam = NULL;
- done (0);
+ return done (0);
}
/*
* Clean up and exit
*/
-void
+int
done(int status)
{
if (tmpfilenam && *tmpfilenam)
unlink (tmpfilenam);
exit (status);
+ return 1; /* dead code to satisfy the compiler */
}