* rcvstore.c -- asynchronously add mail to a folder
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
#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 */
}