Date: Wed, 30 Oct 2013 21:18:14 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257398 - head/contrib/tcp_wrappers Message-ID: <201310302118.r9ULIErj051622@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbruno Date: Wed Oct 30 21:18:14 2013 New Revision: 257398 URL: http://svnweb.freebsd.org/changeset/base/257398 Log: Quiesce warnings by updating headerfile includes Modified: head/contrib/tcp_wrappers/clean_exit.c head/contrib/tcp_wrappers/hosts_access.c head/contrib/tcp_wrappers/options.c head/contrib/tcp_wrappers/percent_x.c head/contrib/tcp_wrappers/rfc931.c head/contrib/tcp_wrappers/shell_cmd.c head/contrib/tcp_wrappers/update.c Modified: head/contrib/tcp_wrappers/clean_exit.c ============================================================================== --- head/contrib/tcp_wrappers/clean_exit.c Wed Oct 30 21:12:27 2013 (r257397) +++ head/contrib/tcp_wrappers/clean_exit.c Wed Oct 30 21:18:14 2013 (r257398) @@ -13,6 +13,7 @@ static char sccsid[] = "@(#) clean_exit. #endif #include <stdio.h> +#include <unistd.h> extern void exit(); Modified: head/contrib/tcp_wrappers/hosts_access.c ============================================================================== --- head/contrib/tcp_wrappers/hosts_access.c Wed Oct 30 21:12:27 2013 (r257397) +++ head/contrib/tcp_wrappers/hosts_access.c Wed Oct 30 21:18:14 2013 (r257398) @@ -44,6 +44,7 @@ static char sccsid[] = "@(#) hosts_acces #ifdef INET6 #include <netdb.h> #endif +#include <stdlib.h> extern char *fgets(); extern int errno; Modified: head/contrib/tcp_wrappers/options.c ============================================================================== --- head/contrib/tcp_wrappers/options.c Wed Oct 30 21:12:27 2013 (r257397) +++ head/contrib/tcp_wrappers/options.c Wed Oct 30 21:18:14 2013 (r257398) @@ -50,6 +50,8 @@ static char sccsid[] = "@(#) options.c 1 #include <ctype.h> #include <setjmp.h> #include <string.h> +#include <unistd.h> +#include <stdlib.h> #ifndef MAXPATHNAMELEN #define MAXPATHNAMELEN BUFSIZ Modified: head/contrib/tcp_wrappers/percent_x.c ============================================================================== --- head/contrib/tcp_wrappers/percent_x.c Wed Oct 30 21:12:27 2013 (r257397) +++ head/contrib/tcp_wrappers/percent_x.c Wed Oct 30 21:18:14 2013 (r257398) @@ -19,6 +19,7 @@ static char sccsid[] = "@(#) percent_x.c #include <stdio.h> #include <syslog.h> #include <string.h> +#include <unistd.h> extern void exit(); Modified: head/contrib/tcp_wrappers/rfc931.c ============================================================================== --- head/contrib/tcp_wrappers/rfc931.c Wed Oct 30 21:12:27 2013 (r257397) +++ head/contrib/tcp_wrappers/rfc931.c Wed Oct 30 21:18:14 2013 (r257398) @@ -25,6 +25,7 @@ static char sccsid[] = "@(#) rfc931.c 1. #include <setjmp.h> #include <signal.h> #include <string.h> +#include <unistd.h> #ifndef SEEK_SET #define SEEK_SET 0 Modified: head/contrib/tcp_wrappers/shell_cmd.c ============================================================================== --- head/contrib/tcp_wrappers/shell_cmd.c Wed Oct 30 21:12:27 2013 (r257397) +++ head/contrib/tcp_wrappers/shell_cmd.c Wed Oct 30 21:18:14 2013 (r257398) @@ -16,10 +16,13 @@ static char sccsid[] = "@(#) shell_cmd.c #include <sys/types.h> #include <sys/param.h> +#include <sys/wait.h> #include <signal.h> #include <stdio.h> #include <syslog.h> #include <string.h> +#include <unistd.h> +#include <fcntl.h> extern void exit(); Modified: head/contrib/tcp_wrappers/update.c ============================================================================== --- head/contrib/tcp_wrappers/update.c Wed Oct 30 21:12:27 2013 (r257397) +++ head/contrib/tcp_wrappers/update.c Wed Oct 30 21:18:14 2013 (r257398) @@ -24,6 +24,7 @@ static char sccsid[] = "@(#) update.c 1. #include <stdio.h> #include <syslog.h> #include <string.h> +#include <unistd.h> /* Local stuff. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310302118.r9ULIErj051622>