aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-10-06 22:24:40 +0000
committerJason Molenda <jmolenda@apple.com>1998-10-06 22:24:40 +0000
commit87feff9dabae11e6df45924c733a6ea9368713d1 (patch)
treecb5f70ae9a6332112663264599818cd507d0f691 /gdb/configure.in
parent1a113a4cdc66942fc4942276aff3b853bf6a91db (diff)
downloadgdb-87feff9dabae11e6df45924c733a6ea9368713d1.zip
gdb-87feff9dabae11e6df45924c733a6ea9368713d1.tar.gz
gdb-87feff9dabae11e6df45924c733a6ea9368713d1.tar.bz2
1998-10-06 Jason Molenda (jsm@bugshack.cygnus.com)
Eliminate a few warnings from the compiler. * breakpoint.h: Add prototype. * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void). * configure.in: Check if strdup declaration is necessary. * configure: Regenerated. * defs.h: Add prototypes. * gdb_string.h: Only define strdup if necessary. * gdbthread.h: Add prototypes. * printcmd.c: Add prototyptes. (disassemble_command): Remove unused variable 'section'. * symtab.c: Add prototypes. * symtab.h: Include gnu-regex.h, add prototype. * thread.c: Add prototype.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index a177c4b..70bcb42 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -1,5 +1,5 @@
dnl Autoconf configure script for GDB, the GNU debugger.
-dnl Copyright 1995, 1996 Free Software Foundation, Inc.
+dnl Copyright 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
dnl
dnl This file is part of GDB.
dnl
@@ -82,6 +82,12 @@ AC_CHECK_FUNCS(setpgid sbrk select poll sigaction isascii bzero bcopy \
memcpy btowc)
AC_FUNC_ALLOCA
+BFD_NEED_DECLARATION(malloc)
+BFD_NEED_DECLARATION(realloc)
+BFD_NEED_DECLARATION(free)
+BFD_NEED_DECLARATION(strerror)
+BFD_NEED_DECLARATION(strdup)
+
# If we are configured native on GNU/Linux, work around problems with sys/procfs.h
if test "${target}" = "${host}"; then
case "${host}" in
@@ -203,12 +209,6 @@ AC_MSG_RESULT($gdb_cv_scanf_has_long_double)
AC_FUNC_MMAP
-BFD_NEED_DECLARATION(malloc)
-BFD_NEED_DECLARATION(realloc)
-BFD_NEED_DECLARATION(free)
-
-BFD_NEED_DECLARATION(strerror)
-
dnl See if thread_db library is around for Solaris thread debugging. Note that
dnl we must explicitly test for version 1 of the library because version 0
dnl (present on Solaris 2.4 or earlier) doesn't have the same API.