- patch-aa was used to edit Makefile. Now it edits Makefile.in instead - patch-a[cefh] are removed, equivalent fix applied - patch-dns.c is added to silent prototype warning (upstream) - Update 1.20 to 1.23 ------------------- 1.23: Feb.17,2015: dns.c, smtp.c: typo fixed: INET6 should be AF_INET6 1.22: Jun.9,2012: smtp.c: logging whole message in multi-lined SMTP response. 1.21: Jun.7,2012: smtp.c, common.h, main.c: '-2' option added to avoid piggybacking among domains. (to support spec change on GoogleApps service) dns.c: definitions of functions with "static" are moved outside to avoid "invalid strage class" errors. *.c, extern.h: log() is renamed to logg() to avoid conflict.
36 lines
582 B
Text
36 lines
582 B
Text
$NetBSD: patch-ai,v 1.2 2015/03/15 15:07:47 mef Exp $
|
|
|
|
--- main.c.orig 2002-03-15 11:12:59.000000000 +0900
|
|
+++ main.c
|
|
@@ -46,7 +46,10 @@
|
|
# define MAIN 1
|
|
# include "extern.h"
|
|
|
|
-void
|
|
+static void usage P((char *));
|
|
+static void sig_quit P((int));
|
|
+
|
|
+static void
|
|
usage(progname)
|
|
char *progname;
|
|
{
|
|
@@ -96,7 +99,8 @@
|
|
}
|
|
|
|
static void
|
|
-sig_quit()
|
|
+sig_quit(dummy)
|
|
+ int dummy;
|
|
{
|
|
exit(EX_TEMPFAIL);
|
|
}
|
|
@@ -155,7 +159,9 @@
|
|
else
|
|
cnf.dst_port = 25;
|
|
|
|
+#if SPT_TYPE != SPT_BUILTIN
|
|
initsetproctitle(argc, argv, envp);
|
|
+#endif
|
|
|
|
opterr = 0;
|
|
#ifdef INET6
|