X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsendsbr.c;h=b7c4cf24b4447e03687d2a2bb9e1a33015f06ec4;hp=245a538c9b6dbe0ae844dfa52c01cec9cb5805bc;hb=3c9700d8d045f3ff26ce5dd2a174454dafc14822;hpb=8f8d299c72fdf8105947681d459dde45eda94e9d diff --git a/uip/sendsbr.c b/uip/sendsbr.c index 245a538..b7c4cf2 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -31,7 +31,7 @@ static jmp_buf env; * external prototypes */ int sendsbr (char **, int, char *, struct stat *, int); -void done (int); +int done (int); char *getusername (void); /* @@ -640,11 +640,12 @@ oops: } -void +int done (int status) { if (armed) longjmp (env, status ? status : NOTOK); exit (status); + return 1; /* dead code to satisfy the compiler */ }