Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: David Carlton <carlton@math.stanford.edu>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] missing include in c-lang.c
Date: Fri, 20 Sep 2002 10:19:00 -0000	[thread overview]
Message-ID: <3D8B5882.7040508@ges.redhat.com> (raw)
In-Reply-To: <ro1bs6svb3h.fsf@jackfruit.Stanford.EDU>

> 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  <carlton@math.stanford.edu>
> 
> 	* 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);
> 



  reply	other threads:[~2002-09-20 17:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-20 10:12 David Carlton
2002-09-20 10:19 ` Andrew Cagney [this message]
2002-09-20 10:41   ` David Carlton
2002-09-20 10:55   ` Elena Zannoni
2002-09-20 11:16     ` David Carlton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D8B5882.7040508@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=carlton@math.stanford.edu \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox