blob: f3392e8a9a8a2448c9aea278c82f2887e6c6be89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$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
|