#endif /* ! NMH */
#ifdef HAVE_CONFIG_H
-# include <config.h>
+# include "config.h"
#endif /* HAVE_CONFIG_H */
#include <unistd.h>
#include <stdlib.h>
*/
int
-main(int argc, char *argv[]) {
+main(int argc, char *argv[])
+{
const char *directory = "", *prefix = "", *suffix = "";
size_t suffix_len;
int fd;
static char *
-build_template(const char *directory, const char *prefix, const char *suffix) {
+build_template(const char *directory, const char *prefix, const char *suffix)
+{
const char pattern[] = "XXXXXX";
size_t len, directory_len, pathsep_len, prefix_len, suffix_len;
char *template;
#if NMH
-#include <h/mh.h>
+#include "h/mh.h"
+#include "sbr/ambigsw.h"
+#include "sbr/print_version.h"
+#include "sbr/print_help.h"
+#include "sbr/error.h"
#include "h/done.h"
-#include <h/utils.h>
+#include "h/utils.h"
#if HAVE_MKSTEMPS
# define MHFIXMSG_SWITCHES \
static void
process_args(int argc, char **argv, const char **directory,
- const char **prefix, const char **suffix) {
+ const char **prefix, const char **suffix)
+{
char **argp, **arguments, *cp, buf[100];
# if ! HAVE_MKSTEMPS
NMH_UNUSED(suffix);
#else /* ! NMH */
static void
process_args(int argc, char **argv, const char **directory,
- const char **prefix, const char **suffix) {
+ const char **prefix, const char **suffix)
+{
# if HAVE_MKSTEMPS
const char usage[] =
"usage: %s [-h] [-d directory] [-p prefix] [-s suffix]\n";