From owner-svn-src-all@FreeBSD.ORG Thu Feb 19 20:08:00 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30A52106564A; Thu, 19 Feb 2009 20:08:00 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1DF958FC12; Thu, 19 Feb 2009 20:08:00 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1JK80gn006727; Thu, 19 Feb 2009 20:08:00 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1JK7xLl006708; Thu, 19 Feb 2009 20:07:59 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200902192007.n1JK7xLl006708@svn.freebsd.org> From: Warner Losh Date: Thu, 19 Feb 2009 20:07:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188828 - head/usr.bin/window X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 20:08:00 -0000 Author: imp Date: Thu Feb 19 20:07:59 2009 New Revision: 188828 URL: http://svn.freebsd.org/changeset/base/188828 Log: Include proper header files for system functions that are used and that gcc complains about this code changing from the built-in versions. Modified: head/usr.bin/window/compress.c head/usr.bin/window/context.c head/usr.bin/window/lcmd1.c head/usr.bin/window/lcmd2.c head/usr.bin/window/scanner.c head/usr.bin/window/startup.c head/usr.bin/window/string.c head/usr.bin/window/ttoutput.c head/usr.bin/window/tttermcap.c head/usr.bin/window/ttzapple.c head/usr.bin/window/var.c head/usr.bin/window/wwdump.c head/usr.bin/window/wwend.c head/usr.bin/window/wwenviron.c head/usr.bin/window/wwflush.c head/usr.bin/window/wwinit.c head/usr.bin/window/wwpty.c head/usr.bin/window/wwspawn.c head/usr.bin/window/xx.c Modified: head/usr.bin/window/compress.c ============================================================================== --- head/usr.bin/window/compress.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/compress.c Thu Feb 19 20:07:59 2009 (r188828) @@ -47,6 +47,7 @@ static char rcsid[] = #include #include #include +#include int cc_trace = 0; FILE *cc_trace_fp; Modified: head/usr.bin/window/context.c ============================================================================== --- head/usr.bin/window/context.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/context.c Thu Feb 19 20:07:59 2009 (r188828) @@ -44,6 +44,7 @@ static char rcsid[] = #include "mystring.h" #include "context.h" #include +#include /* * Context push/pop for nested command files. Modified: head/usr.bin/window/lcmd1.c ============================================================================== --- head/usr.bin/window/lcmd1.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/lcmd1.c Thu Feb 19 20:07:59 2009 (r188828) @@ -46,6 +46,7 @@ static char rcsid[] = #include "value.h" #include "lcmd.h" #include "var.h" +#include struct lcmd_arg arg_window[] = { { "row", 1, ARG_NUM }, Modified: head/usr.bin/window/lcmd2.c ============================================================================== --- head/usr.bin/window/lcmd2.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/lcmd2.c Thu Feb 19 20:07:59 2009 (r188828) @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include "var.h" #include "lcmd.h" #include "alias.h" +#include #include #include Modified: head/usr.bin/window/scanner.c ============================================================================== --- head/usr.bin/window/scanner.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/scanner.c Thu Feb 19 20:07:59 2009 (r188828) @@ -46,6 +46,7 @@ static char rcsid[] = #include "context.h" #include "string.h" #include "mystring.h" +#include s_getc() { Modified: head/usr.bin/window/startup.c ============================================================================== --- head/usr.bin/window/startup.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/startup.c Thu Feb 19 20:07:59 2009 (r188828) @@ -45,6 +45,7 @@ static char rcsid[] = #include "var.h" #include "char.h" #include "local.h" +#include doconfig() { Modified: head/usr.bin/window/string.c ============================================================================== --- head/usr.bin/window/string.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/string.c Thu Feb 19 20:07:59 2009 (r188828) @@ -42,6 +42,8 @@ static char rcsid[] = #include /* System string definitions. */ #include "mystring.h" /* Local string definitions. */ +#include +#include char * str_cpy(s) Modified: head/usr.bin/window/ttoutput.c ============================================================================== --- head/usr.bin/window/ttoutput.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/ttoutput.c Thu Feb 19 20:07:59 2009 (r188828) @@ -43,6 +43,8 @@ static char rcsid[] = #include "ww.h" #include "tt.h" #include +#include +#include #include /* Modified: head/usr.bin/window/tttermcap.c ============================================================================== --- head/usr.bin/window/tttermcap.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/tttermcap.c Thu Feb 19 20:07:59 2009 (r188828) @@ -41,6 +41,7 @@ static char rcsid[] = #endif /* not lint */ #include "tt.h" +#include char *tgetstr(); char *tgoto(); Modified: head/usr.bin/window/ttzapple.c ============================================================================== --- head/usr.bin/window/ttzapple.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/ttzapple.c Thu Feb 19 20:07:59 2009 (r188828) @@ -43,6 +43,7 @@ static char rcsid[] = #include "ww.h" #include "tt.h" #include "char.h" +#include /* zz|zapple|perfect apple:\ Modified: head/usr.bin/window/var.c ============================================================================== --- head/usr.bin/window/var.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/var.c Thu Feb 19 20:07:59 2009 (r188828) @@ -43,6 +43,7 @@ static char rcsid[] = #include "value.h" #include "var.h" #include "mystring.h" +#include struct var * var_set1(head, name, v) Modified: head/usr.bin/window/wwdump.c ============================================================================== --- head/usr.bin/window/wwdump.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/wwdump.c Thu Feb 19 20:07:59 2009 (r188828) @@ -40,6 +40,7 @@ static char rcsid[] = "$FreeBSD$"; #endif /* not lint */ +#include #include #include "ww.h" #include "tt.h" Modified: head/usr.bin/window/wwend.c ============================================================================== --- head/usr.bin/window/wwend.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/wwend.c Thu Feb 19 20:07:59 2009 (r188828) @@ -43,6 +43,7 @@ static char rcsid[] = #include #include "ww.h" #include "tt.h" +#include /*ARGSUSED*/ int Modified: head/usr.bin/window/wwenviron.c ============================================================================== --- head/usr.bin/window/wwenviron.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/wwenviron.c Thu Feb 19 20:07:59 2009 (r188828) @@ -46,6 +46,7 @@ static char rcsid[] = #endif #include #include +#include /* * Set up the environment of this process to run in window 'wp'. Modified: head/usr.bin/window/wwflush.c ============================================================================== --- head/usr.bin/window/wwflush.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/wwflush.c Thu Feb 19 20:07:59 2009 (r188828) @@ -43,6 +43,7 @@ static char rcsid[] = #include "ww.h" #include "tt.h" #include +#include wwflush() { Modified: head/usr.bin/window/wwinit.c ============================================================================== --- head/usr.bin/window/wwinit.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/wwinit.c Thu Feb 19 20:07:59 2009 (r188828) @@ -43,6 +43,7 @@ static char rcsid[] = #include "ww.h" #include "tt.h" #include +#include #include #include #include "char.h" Modified: head/usr.bin/window/wwpty.c ============================================================================== --- head/usr.bin/window/wwpty.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/wwpty.c Thu Feb 19 20:07:59 2009 (r188828) @@ -43,6 +43,7 @@ static char rcsid[] = #include "ww.h" #include #include +#include #if !defined(OLD_TTY) && !defined(TIOCPKT) #include #endif Modified: head/usr.bin/window/wwspawn.c ============================================================================== --- head/usr.bin/window/wwspawn.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/wwspawn.c Thu Feb 19 20:07:59 2009 (r188828) @@ -42,6 +42,7 @@ static char rcsid[] = #include "ww.h" #include +#include /* * There is a dead lock with vfork and closing of pseudo-ports. Modified: head/usr.bin/window/xx.c ============================================================================== --- head/usr.bin/window/xx.c Thu Feb 19 19:53:58 2009 (r188827) +++ head/usr.bin/window/xx.c Thu Feb 19 20:07:59 2009 (r188828) @@ -44,6 +44,7 @@ static char rcsid[] = #include "xx.h" #include "tt.h" #include +#include xxinit() {