public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Joerg Beyer" <j.beyer@web.de>
To: gdb@sources.redhat.com
Subject: removes trivial compilation warning
Date: Mon, 17 Mar 2003 19:19:00 -0000	[thread overview]
Message-ID: <200303171919.h2HJJc310659@mailgate5.cinetic.de> (raw)

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> 

             reply	other threads:[~2003-03-17 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-17 19:19 Joerg Beyer [this message]
2003-03-17 19:36 ` Daniel Jacobowitz
2003-03-17 19:41   ` Daniel Jacobowitz
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=200303171919.h2HJJc310659@mailgate5.cinetic.de \
    --to=j.beyer@web.de \
    --cc=gdb@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).