From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16079 invoked by alias); 20 Mar 2005 16:39:34 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16016 invoked from network); 20 Mar 2005 16:39:31 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 20 Mar 2005 16:39:31 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1DD3SU-0007KE-Bo; Sun, 20 Mar 2005 11:39:22 -0500 Date: Sun, 20 Mar 2005 16:39:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [COMMIT] Add missing prototype to cp-names.y Message-ID: <20050320163922.GA28124@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sourceware.org References: <200503201626.j2KGQoZE011353@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503201626.j2KGQoZE011353@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00260.txt.bz2 On Sun, Mar 20, 2005 at 05:26:50PM +0100, Mark Kettenis wrote: > Compiling with -Werror on OpenBSD failed. Turns out that yacc doesn't > provide a prototype for yyparse, while bison does. Works for me on > systems with and without bison. Thanks! Typo though: > * cp-names.y: Add prototype for yylex. > +int yyparse (void); -- Daniel Jacobowitz CodeSourcery, LLC