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
6429cb4
..
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>
@@
-1614,6
+1608,8
@@
do_text (char *file, int fd)
static void
sigser (int i)
{
static void
sigser (int i)
{
+ NMH_UNUSED (i);
+
unlink (tmpfil);
if (msgflags & MINV)
unlink (bccfil);
unlink (tmpfil);
if (msgflags & MINV)
unlink (bccfil);