-/*
- * rcvstore.c -- asynchronously add mail to a folder
+/* rcvstore.c -- asynchronously add mail to a folder
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
#include <fcntl.h>
#include <h/signals.h>
#include <h/mts.h>
+#include <h/utils.h>
+#include "../sbr/m_maildir.h"
+#include "../sbr/m_mktemp.h"
+#include "../sbr/makedir.h"
#define RCVSTORE_SWITCHES \
X("create", 0, CRETSW) \
/*
* Clean up and exit
*/
-static void
+static void NORETURN
unlink_done(int status)
{
if (tmpfilenam && *tmpfilenam)