* 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 <h/mh.h>
#include <fcntl.h>
#include <h/mime.h>
+#ifdef TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# ifdef TM_IN_SYS_TIME
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
+
int debugsw = 0; /* global */
int forwsw = 1;
int inplace = 1;
* external prototypes
*/
int sendsbr (char **, int, char *, struct stat *, int);
-void done (int);
+int done (int);
char *getusername (void);
/*
}
-void
+int
done (int status)
{
if (armed)
longjmp (env, status ? status : NOTOK);
exit (status);
+ return 1; /* dead code to satisfy the compiler */
}