Alter the callers to include the new header file instead of having their
own copy of the prototype.
sbr/m_mktemp.h \
thirdparty/jsmn/jsmn.h \
uip/mhfree.h \
sbr/m_mktemp.h \
thirdparty/jsmn/jsmn.h \
uip/mhfree.h \
#include <h/utils.h>
#include "../sbr/m_mktemp.h"
#include "mhfree.h"
#include <h/utils.h>
#include "../sbr/m_mktemp.h"
#include "mhfree.h"
#define MHBUILD_SWITCHES \
X("auto", 0, AUTOSW) \
#define MHBUILD_SWITCHES \
X("auto", 0, AUTOSW) \
static void unlink_done (int) NORETURN;
static void unlink_done (int) NORETURN;
-/* mhbuildsbr.c */
-int output_message_fp (CT, FILE *, char*);
-
int
main (int argc, char **argv)
int
main (int argc, char **argv)
#include <h/signals.h>
#include "../sbr/m_mktemp.h"
#include "mhfree.h"
#include <h/signals.h>
#include "../sbr/m_mktemp.h"
#include "mhfree.h"
#include <fcntl.h>
#define MHFIXMSG_SWITCHES \
#include <fcntl.h>
#define MHFIXMSG_SWITCHES \
/* flags to/from parse_header_attrs */
extern int suppress_extraneous_trailing_semicolon_warning;
/* flags to/from parse_header_attrs */
extern int suppress_extraneous_trailing_semicolon_warning;
-/* mhoutsbr.c */
-int output_message_fp (CT, FILE *, char *);
-
/* mhmisc.c */
void flush_errors (void);
/* mhmisc.c */
void flush_errors (void);
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
-/*
- * prototypes
- */
-int output_message_fp (CT, FILE *, char *);
-
/*
* static prototypes
*/
/*
* static prototypes
*/
--- /dev/null
+/* mhoutsbr.h -- output MIME messages from a Content structure.
+ *
+ * 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.
+ */
+
+int output_message_fp(CT ct, FILE *fp, char *file);