From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12099 invoked by alias); 20 Sep 2002 17:19:02 -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 12072 invoked from network); 20 Sep 2002 17:19:00 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 20 Sep 2002 17:19:00 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7855F3CFA; Fri, 20 Sep 2002 13:18:58 -0400 (EDT) Message-ID: <3D8B5882.7040508@ges.redhat.com> Date: Fri, 20 Sep 2002 10:19:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] missing include in c-lang.c References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00529.txt.bz2 > 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 > 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); >