projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove h/nmh.h
[mmh]
/
uip
/
rcvdist.c
diff --git
a/uip/rcvdist.c
b/uip/rcvdist.c
index
d3e4100
..
c365059
100644
(file)
--- a/
uip/rcvdist.c
+++ b/
uip/rcvdist.c
@@
-30,7
+30,7
@@
static char tmpfil[BUFSIZ] = "";
** prototypes
*/
static void rcvdistout(FILE *, char *, char *);
** prototypes
*/
static void rcvdistout(FILE *, char *, char *);
-static void unlink_done();
+void unlink_done();
int
int
@@
-42,7
+42,9
@@
main(int argc, char **argv)
FILE *fp;
char *tfile = NULL;
FILE *fp;
char *tfile = NULL;
- atexit(unlink_done);
+ if (atexit(unlink_done) != 0) {
+ adios(NULL, "atexit failed");
+ }
setlocale(LC_ALL, "");
invo_name = mhbasename(argv[0]);
setlocale(LC_ALL, "");
invo_name = mhbasename(argv[0]);
@@
-275,7
+277,7
@@
finished: ;
}
}
-static void
+void
unlink_done()
{
if (*backup) {
unlink_done()
{
if (*backup) {