projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unnecessary #include of h/signals.h.
[mmh]
/
uip
/
mhbuild.c
diff --git
a/uip/mhbuild.c
b/uip/mhbuild.c
index
6e0861e
..
2ffd09c
100644
(file)
--- a/
uip/mhbuild.c
+++ b/
uip/mhbuild.c
@@
-15,9
+15,7
@@
#include <h/mh.h>
#include <fcntl.h>
#include <h/mh.h>
#include <fcntl.h>
-#include <h/signals.h>
#include <errno.h>
#include <errno.h>
-#include <signal.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
@@
-92,7
+90,7
@@
static int unlink_infile = 0;
static char outfile[BUFSIZ];
static int unlink_outfile = 0;
static char outfile[BUFSIZ];
static int unlink_outfile = 0;
-static void unlink_done();
+void unlink_done();
/* mhoutsbr.c */
int output_message(CT, char *);
/* mhoutsbr.c */
int output_message(CT, char *);
@@
-115,7
+113,9
@@
main(int argc, char **argv)
FILE *fp = NULL;
FILE *fp_out = NULL;
FILE *fp = NULL;
FILE *fp_out = 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]);
@@
-284,7
+284,7
@@
main(int argc, char **argv)
}
}
-static void
+void
unlink_done()
{
/*
unlink_done()
{
/*