From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9231 invoked by alias); 20 Sep 2002 17:12:51 -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 9216 invoked from network); 20 Sep 2002 17:12:51 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 20 Sep 2002 17:12:51 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id g8KHCo304422; Fri, 20 Sep 2002 10:12:50 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: gdb-patches@sources.redhat.com Subject: [rfa] missing include in c-lang.c From: David Carlton Date: Fri, 20 Sep 2002 10:12:00 -0000 Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-09/txt/msg00528.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. 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);