This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
removes trivial compilation warning
- From: "Joerg Beyer" <j dot beyer at web dot de>
- To: gdb at sources dot redhat dot com
- Date: Mon, 17 Mar 2003 20:19:38 +0100
- Subject: removes trivial compilation warning
- Organization: http://freemail.web.de/
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>