Some of sbr/m_mktemp.c's functions didn't have prototypes in a header
file so callers were declaring prototypes themselves. Have them include
the new header file instead.
h/utils.h \
mts/smtp/smtp.h \
sbr/ctype-checked.h \
+ sbr/m_mktemp.h \
thirdparty/jsmn/jsmn.h \
uip/mhfree.h \
#
#include <h/mh.h>
#include <h/utils.h>
#include <h/signals.h>
+#include "m_mktemp.h"
static void register_for_removal(const char *);
--- /dev/null
+/* m_mktemp.h -- Construct a temporary file.
+ *
+ * This code is Copyright (c) 2017, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
+ */
+
+void remove_registered_files_atexit(void);
+void remove_registered_files(int sig);
#include <h/mh.h>
#include <h/signals.h>
-
-/* sbr/m_mktemp.c */
-extern void remove_registered_files(int);
+#include "m_mktemp.h"
/*
#include <h/mh.h>
#include <h/utils.h>
#include <h/signals.h>
+#include "m_mktemp.h"
#include <fcntl.h>
-/* sbr/m_mktemp.c */
-extern void remove_registered_files_atexit(void);
-
extern char *mhdocdir;
/* plurals gives the letter ess to indicate a plural noun, or an empty