X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsendsbr.c;h=fd21acd37e4fbf41e889416e129a327ec6242a69;hp=cb6bb3f784b1b24512a89537f8daa43df060e909;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=56a805299de35d8924969138aef4d0f1580daa6d diff --git a/uip/sendsbr.c b/uip/sendsbr.c index cb6bb3f..fd21acd 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -60,7 +60,7 @@ char *getusername (void); /* * static prototypes */ -static int armed_done (int); +static void armed_done (int) NORETURN; static void alert (char *, int); static int tmp_fd (void); static void anno (int, struct stat *); @@ -153,7 +153,7 @@ sendsbr (char **vec, int vecp, char *drft, struct stat *st, int rename_drft, cha break; } - done=default_done; + done=exit; if (distfile) unlink (distfile); @@ -1074,11 +1074,10 @@ oops: } -static int +static void armed_done (int status) { longjmp (env, status ? status : NOTOK); exit (status); - return 1; /* dead code to satisfy the compiler */ }