X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhbuild.c;h=9d9f553a3fe492e88d339c9a2ea6d9e8fe5db705;hb=636b3bab53e3fc2154bb86fb02aeecf433cc977a;hp=15132eece4121407e176c0d4cbd4dbdf80050034;hpb=56a805299de35d8924969138aef4d0f1580daa6d;p=mmh diff --git a/uip/mhbuild.c b/uip/mhbuild.c index 15132ee..9d9f553 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -74,7 +74,6 @@ static struct swit switches[] = { /* mhbuildsbr.c */ -extern int checksw; 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 int unlink_done (int); +static void unlink_done (int) NORETURN; /* mhbuildsbr.c */ CT build_mime (char *); @@ -381,11 +380,12 @@ main (int argc, char **argv) unlink_outfile = 0; free_content (ct); - return done (0); + done (0); + return 1; } -static int +static void unlink_done (int status) { /* @@ -398,5 +398,4 @@ unlink_done (int status) unlink (outfile); exit (status); - return 1; /* dead code to satisfy the compiler */ }