projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added NMH_UNUSED macro for suppressing warnings about unused parameters
[mmh]
/
uip
/
post.c
diff --git
a/uip/post.c
b/uip/post.c
index
419b86c
..
2048228
100644
(file)
--- a/
uip/post.c
+++ b/
uip/post.c
@@
-23,16
+23,10
@@
#include <setjmp.h>
#include <signal.h>
#include <setjmp.h>
#include <signal.h>
-#ifdef TIME_WITH_SYS_TIME
+#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# include <sys/time.h>
-# include <time.h>
-#else
-# ifdef TM_IN_SYS_TIME
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
#endif
#endif
+#include <time.h>
#ifdef SMTPMTS
# include <mts/smtp/smtp.h>
#ifdef SMTPMTS
# include <mts/smtp/smtp.h>
@@
-1611,12
+1605,10
@@
do_text (char *file, int fd)
* SIGNAL HANDLING
*/
* SIGNAL HANDLING
*/
-static RETSIGTYPE
+static void
sigser (int i)
{
sigser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (i, SIG_IGN);
-#endif
+ NMH_UNUSED (i);
unlink (tmpfil);
if (msgflags & MINV)
unlink (tmpfil);
if (msgflags & MINV)