From owner-svn-src-head@FreeBSD.ORG Thu May 23 05:42:37 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4D3D97BC; Thu, 23 May 2013 05:42:37 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3E7B92D2; Thu, 23 May 2013 05:42:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4N5gbH3050976; Thu, 23 May 2013 05:42:37 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4N5gZnU050965; Thu, 23 May 2013 05:42:35 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201305230542.r4N5gZnU050965@svn.freebsd.org> From: Jung-uk Kim Date: Thu, 23 May 2013 05:42:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250926 - in head: contrib/openbsm/bin/auditdistd usr.bin/ar usr.bin/bc usr.bin/m4 usr.bin/mklocale usr.sbin/bluetooth/bthidd usr.sbin/config usr.sbin/jail X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 05:42:37 -0000 Author: jkim Date: Thu May 23 05:42:35 2013 New Revision: 250926 URL: http://svnweb.freebsd.org/changeset/base/250926 Log: Work around build breakages with GCC 4.2. Reported by: tinderbox Modified: head/contrib/openbsm/bin/auditdistd/token.l head/usr.bin/ar/acplex.l head/usr.bin/bc/scan.l head/usr.bin/m4/tokenizer.l head/usr.bin/mklocale/lex.l head/usr.sbin/bluetooth/bthidd/lexer.l head/usr.sbin/config/lang.l head/usr.sbin/jail/jaillex.l Modified: head/contrib/openbsm/bin/auditdistd/token.l ============================================================================== --- head/contrib/openbsm/bin/auditdistd/token.l Thu May 23 01:37:34 2013 (r250925) +++ head/contrib/openbsm/bin/auditdistd/token.l Thu May 23 05:42:35 2013 (r250926) @@ -52,6 +52,7 @@ int depth; int lineno; #define DP do { } while (0) +#define YY_DECL int yylex(void) %} %option noinput Modified: head/usr.bin/ar/acplex.l ============================================================================== --- head/usr.bin/ar/acplex.l Thu May 23 01:37:34 2013 (r250925) +++ head/usr.bin/ar/acplex.l Thu May 23 05:42:35 2013 (r250926) @@ -40,6 +40,8 @@ int lineno = 1; int yylex(void); +#define YY_DECL int yylex(void) + %} %option nounput Modified: head/usr.bin/bc/scan.l ============================================================================== --- head/usr.bin/bc/scan.l Thu May 23 01:37:34 2013 (r250925) +++ head/usr.bin/bc/scan.l Thu May 23 05:42:35 2013 (r250926) @@ -46,6 +46,7 @@ static void init_strbuf(void); static void add_str(const char *); static int bc_yyinput(char *, int); +#define YY_DECL int yylex(void) #define YY_NO_INPUT #undef YY_INPUT #define YY_INPUT(buf,retval,max) \ Modified: head/usr.bin/m4/tokenizer.l ============================================================================== --- head/usr.bin/m4/tokenizer.l Thu May 23 01:37:34 2013 (r250925) +++ head/usr.bin/m4/tokenizer.l Thu May 23 05:42:35 2013 (r250926) @@ -31,6 +31,8 @@ extern int32_t yylval; int32_t number(void); int32_t parse_radix(void); extern int yylex(void); + +#define YY_DECL int yylex(void) %} delim [ \t\n] Modified: head/usr.bin/mklocale/lex.l ============================================================================== --- head/usr.bin/mklocale/lex.l Thu May 23 01:37:34 2013 (r250925) +++ head/usr.bin/mklocale/lex.l Thu May 23 05:42:35 2013 (r250926) @@ -47,6 +47,8 @@ __FBSDID("$FreeBSD$"); #include "ldef.h" #include "y.tab.h" #include "extern.h" + +#define YY_DECL int yylex(void) %} ODIGIT [0-7] Modified: head/usr.sbin/bluetooth/bthidd/lexer.l ============================================================================== --- head/usr.sbin/bluetooth/bthidd/lexer.l Thu May 23 01:37:34 2013 (r250925) +++ head/usr.sbin/bluetooth/bthidd/lexer.l Thu May 23 05:42:35 2013 (r250926) @@ -37,6 +37,8 @@ #include "parser.h" int yylex (void); + +#define YY_DECL int yylex(void) %} %option yylineno noyywrap nounput noinput Modified: head/usr.sbin/config/lang.l ============================================================================== --- head/usr.sbin/config/lang.l Thu May 23 01:37:34 2013 (r250925) +++ head/usr.sbin/config/lang.l Thu May 23 05:42:35 2013 (r250926) @@ -93,6 +93,7 @@ unsigned int octal(const char *); unsigned int hex(const char *); int yyerror(const char *); +#define YY_DECL int yylex(void) %} %option nounput Modified: head/usr.sbin/jail/jaillex.l ============================================================================== --- head/usr.sbin/jail/jaillex.l Thu May 23 01:37:34 2013 (r250925) +++ head/usr.sbin/jail/jaillex.l Thu May 23 05:42:35 2013 (r250926) @@ -42,6 +42,8 @@ static ssize_t text2lval(size_t triml, s static int instr; static int lineno = 1; + +#define YY_DECL int yylex(void) %} %option noinput