projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upped the version number to 1.0.3. If we don't do this, then when people report
[mmh]
/
uip
/
rcvstore.c
diff --git
a/uip/rcvstore.c
b/uip/rcvstore.c
index
81a03e8
..
43d3889
100644
(file)
--- a/
uip/rcvstore.c
+++ b/
uip/rcvstore.c
@@
-10,6
+10,7
@@
#include <h/signals.h>
#include <errno.h>
#include <signal.h>
#include <h/signals.h>
#include <errno.h>
#include <signal.h>
+#include <zotnet/mts/mts.h>
static struct swit switches[] = {
#define CRETSW 0
static struct swit switches[] = {
#define CRETSW 0
@@
-218,16
+219,17
@@
main (int argc, char **argv)
unlink (tmpfilenam); /* remove temporary file */
tmpfilenam = NULL;
unlink (tmpfilenam); /* remove temporary file */
tmpfilenam = NULL;
- done (0);
+ return done (0);
}
/*
* Clean up and exit
*/
}
/*
* Clean up and exit
*/
-void
+int
done(int status)
{
if (tmpfilenam && *tmpfilenam)
unlink (tmpfilenam);
exit (status);
done(int status)
{
if (tmpfilenam && *tmpfilenam)
unlink (tmpfilenam);
exit (status);
+ return 1; /* dead code to satisfy the compiler */
}
}