projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Meaningless change to test autoconf file commit order stuff.
[mmh]
/
uip
/
sendsbr.c
diff --git
a/uip/sendsbr.c
b/uip/sendsbr.c
index
245a538
..
2c2e3a6
100644
(file)
--- a/
uip/sendsbr.c
+++ b/
uip/sendsbr.c
@@
-12,6
+12,17
@@
#include <fcntl.h>
#include <h/mime.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;
int debugsw = 0; /* global */
int forwsw = 1;
int inplace = 1;
@@
-31,7
+42,7
@@
static jmp_buf env;
* external prototypes
*/
int sendsbr (char **, int, char *, struct stat *, int);
* external prototypes
*/
int sendsbr (char **, int, char *, struct stat *, int);
-void done (int);
+int done (int);
char *getusername (void);
/*
char *getusername (void);
/*
@@
-640,11
+651,12
@@
oops:
}
}
-void
+int
done (int status)
{
if (armed)
longjmp (env, status ? status : NOTOK);
exit (status);
done (int status)
{
if (armed)
longjmp (env, status ? status : NOTOK);
exit (status);
+ return 1; /* dead code to satisfy the compiler */
}
}