X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsendsbr.c;h=b055bb019c1dc8c00403bf92d245492644727ea4;hb=ad3d5c36b428d68a3a2cad85168ec90bf25c8932;hp=245a538c9b6dbe0ae844dfa52c01cec9cb5805bc;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/sendsbr.c b/uip/sendsbr.c index 245a538..b055bb0 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -3,6 +3,10 @@ * sendsbr.c -- routines to help WhatNow/Send along * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include @@ -12,6 +16,17 @@ #include #include +#ifdef TIME_WITH_SYS_TIME +# include +# include +#else +# ifdef TM_IN_SYS_TIME +# include +# else +# include +# endif +#endif + int debugsw = 0; /* global */ int forwsw = 1; int inplace = 1; @@ -31,7 +46,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 +655,12 @@ oops: } -void +int done (int status) { if (armed) longjmp (env, status ? status : NOTOK); exit (status); + return 1; /* dead code to satisfy the compiler */ }