From: Daniel Jacobowitz <drow@mvista.com>
To: Joerg Beyer <j.beyer@web.de>, gdb@sources.redhat.com
Subject: Re: removes trivial compilation warning
Date: Mon, 17 Mar 2003 19:41:00 -0000 [thread overview]
Message-ID: <20030317194052.GA12220@nevyn.them.org> (raw)
In-Reply-To: <20030317193603.GB11288@nevyn.them.org>
On Mon, Mar 17, 2003 at 02:36:03PM -0500, Daniel Jacobowitz wrote:
> On Mon, Mar 17, 2003 at 08:19:38PM +0100, Joerg Beyer wrote:
> > This fixes a trivial warning:
> >
> > gdb/gdbserver/gdbreplay.c gives a warning, because atoi is
> > not declared. The inlcude of stdlib.h fixes this:
> >
> > Joerg
> >
> > diff -c src_orig/gdb/gdbserver/gdbreplay.c src/gdb/gdbserver/gdbreplay.c
> > *** src_orig/gdb/gdbserver/gdbreplay.c 2002-07-09 19:38:58.000000000 +0200
> > --- src/gdb/gdbserver/gdbreplay.c 2003-03-17 19:53:38.000000000 +0100
> > ***************
> > *** 30,35 ****
> > --- 30,36 ----
> > #include <ctype.h>
> > #include <fcntl.h>
> > #include <errno.h>
> > + #include <stdlib.h>
> >
> > #ifdef HAVE_STDLIB_H
> > #include <stdlib.h>
>
> Look down a line in your patch. Is HAVE_STDLIB_H not getting defined?
No, it wasn't. I've fixed this in CVS.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-03-17 19:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-17 19:19 Joerg Beyer
2003-03-17 19:36 ` Daniel Jacobowitz
2003-03-17 19:41 ` Daniel Jacobowitz [this message]
2003-03-17 20:47 Joerg Beyer
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=20030317194052.GA12220@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=j.beyer@web.de \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).