This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

removes trivial compilation warning


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> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]