projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* uip/inc.c: gcc 4.4.1 noticed that maildir could have been
[mmh]
/
uip
/
mhbuild.c
diff --git
a/uip/mhbuild.c
b/uip/mhbuild.c
index
15132ee
..
9d9f553
100644
(file)
--- a/
uip/mhbuild.c
+++ b/
uip/mhbuild.c
@@
-74,7
+74,6
@@
static struct swit switches[] = {
/* mhbuildsbr.c */
/* mhbuildsbr.c */
-extern int checksw;
extern char *tmp; /* directory to place temp files */
/* mhcachesbr.c */
extern char *tmp; /* directory to place temp files */
/* mhcachesbr.c */
@@
-100,7
+99,7
@@
static int unlink_infile = 0;
static char outfile[BUFSIZ];
static int unlink_outfile = 0;
static char outfile[BUFSIZ];
static int unlink_outfile = 0;
-static int unlink_done (int);
+static void unlink_done (int) NORETURN;
/* mhbuildsbr.c */
CT build_mime (char *);
/* mhbuildsbr.c */
CT build_mime (char *);
@@
-381,11
+380,12
@@
main (int argc, char **argv)
unlink_outfile = 0;
free_content (ct);
unlink_outfile = 0;
free_content (ct);
- return done (0);
+ done (0);
+ return 1;
}
}
-static int
+static void
unlink_done (int status)
{
/*
unlink_done (int status)
{
/*
@@
-398,5
+398,4
@@
unlink_done (int status)
unlink (outfile);
exit (status);
unlink (outfile);
exit (status);
- return 1; /* dead code to satisfy the compiler */
}
}