3 @@ -13,6 +13,7 @@ static char sccsid[] = "@(#) clean_exit.
13 @@ -34,6 +34,7 @@ static char sccsid[] = "@(#) hosts_acces
14 #include <netinet/in.h>
15 #include <arpa/inet.h>
21 @@ -54,6 +55,9 @@ extern int errno;
25 +unsigned long cidr_mask_addr(char *str);
26 +int yp_get_default_domain(char **ptr);
30 extern jmp_buf tcpd_buf;
33 @@ -13,6 +13,7 @@ static char sccsic[] = "@(#) misc.c 1.2
34 #include <netinet/in.h>
35 #include <arpa/inet.h>
43 @@ -41,6 +41,7 @@ static char sccsid[] = "@(#) options.c 1
44 #include <netinet/in.h>
53 @@ -17,6 +17,7 @@ static char sccsid[] = "@(#) percent_x.c
54 /* System libraries. */
63 @@ -16,6 +16,7 @@ static char sccsid[] = "@(#) rfc931.c 1.
64 /* System libraries. */
69 #include <sys/types.h>
70 #include <sys/socket.h>
73 @@ -22,6 +22,7 @@ static char sccsid[] = "@(#) tcpd.c 1.10
74 #include <sys/socket.h>
75 #include <netinet/in.h>
81 @@ -38,10 +39,12 @@ static char sccsid[] = "@(#) tcpd.c 1.10
82 #include "patchlevel.h"
85 +void fix_options(struct request_info *);
87 int allow_severity = SEVERITY; /* run-time adjustable */
88 int deny_severity = LOG_WARNING; /* ditto */
97 @@ -20,6 +20,7 @@ static char sccsid[] = "@(#) update.c 1.
98 /* System libraries */
107 @@ -17,7 +17,7 @@ static char sccsid[] = "@(#) fakelog.c 1
111 -openlog(name, logopt, facility)
112 +void openlog(name, logopt, facility)
116 @@ -27,7 +27,7 @@ int facility;
118 /* vsyslog - format one record */
120 -vsyslog(severity, fmt, ap)
121 +void vsyslog(severity, fmt, ap)
125 @@ -43,7 +43,7 @@ va_list ap;
129 -VARARGS(syslog, int, severity)
130 +void VARARGS(syslog, int, severity)
134 @@ -56,7 +56,7 @@ VARARGS(syslog, int, severity)
136 /* closelog - dummy */
145 @@ -22,10 +22,15 @@ static char sccsid[] = "@(#) safe_finger
147 #include <sys/types.h>
148 #include <sys/stat.h>
149 +#include <sys/wait.h>
161 @@ -45,6 +50,8 @@ int finger_pid;
162 int allow_severity = SEVERITY;
163 int deny_severity = LOG_WARNING;
165 +int pipe_stdin(char **argv);
170 @@ -52,7 +59,7 @@ int sig;
175 +int main(argc, argv)
181 @@ -28,6 +28,8 @@ static char sccsid[] = "@(#) tcpdchk.c 1
182 #include <netinet/in.h>
183 #include <arpa/inet.h>
190 @@ -53,6 +55,8 @@ extern char *optarg;
192 #include "scaffold.h"
194 +unsigned long cidr_mask_addr(char *str);
196 /* list of programs which are known to be linked with libwrap in debian */
197 static const char *const libwrap_programs[] = {
198 "portmap", "mountd", "statd", "ugidd",
201 @@ -26,6 +26,7 @@ static char sccsid[] = "@(#) tcpdmatch.c
202 #include <arpa/inet.h>
211 @@ -37,7 +37,7 @@ static char sccsid[] = "@(#) try-from.c
212 int allow_severity = SEVERITY; /* run-time adjustable */
213 int deny_severity = LOG_WARNING; /* ditto */
216 +int main(argc, argv)
222 @@ -12,6 +12,7 @@ static char sccsid[] = "@(#) inetcf.c 1.
223 #include <sys/types.h>
224 #include <sys/stat.h>
230 @@ -20,6 +21,7 @@ extern void exit();
234 +#include "scaffold.h"
237 * Network configuration files may live in unusual places. Here are some