From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31131 invoked by alias); 20 Sep 2002 17:55:38 -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 31123 invoked from network); 20 Sep 2002 17:55:37 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 20 Sep 2002 17:55:37 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 8FC0F106CC; Fri, 20 Sep 2002 13:53:41 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15755.24741.253292.79999@localhost.redhat.com> Date: Fri, 20 Sep 2002 10:55:00 -0000 To: Andrew Cagney Cc: David Carlton , gdb-patches@sources.redhat.com Subject: Re: [rfa] missing include in c-lang.c In-Reply-To: <3D8B5882.7040508@ges.redhat.com> References: <3D8B5882.7040508@ges.redhat.com> X-SW-Source: 2002-09/txt/msg00532.txt.bz2 Andrew Cagney writes: > > c-lang.c calls strcmp(), but it doesn't seem to be declared anywhere, > > so I think it should #include "gdb_string.h". > > > > I suppose that I really should just commit this as obvious, but I'm > > doing an RFA anyways. > > Yes, obvious. > > Andrew > Makefile.in should be updated too. Elena > > David Carlton > > carlton@math.stanford.edu > > > > 2002-09-20 David Carlton > > > > * c-lang.c: #include "gdb_string.h" > > > > Index: c-lang.c > > =================================================================== > > RCS file: /cvs/src/src/gdb/c-lang.c,v > > retrieving revision 1.15 > > diff -u -p -r1.15 c-lang.c > > --- c-lang.c 20 Sep 2002 00:24:01 -0000 1.15 > > +++ c-lang.c 20 Sep 2002 17:09:33 -0000 > > @@ -30,6 +30,7 @@ > > #include "macroscope.h" > > #include "gdb_assert.h" > > #include "charset.h" > > +#include "gdb_string.h" > > > > extern void _initialize_c_language (void); > > static void c_emit_char (int c, struct ui_file * stream, int quoter); > > >