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.
This commit is contained in:
Jason Molenda 1998-10-06 22:24:40 +00:00
parent 1a113a4cdc
commit 87feff9dab
6 changed files with 348 additions and 278 deletions

View file

@ -1,5 +1,5 @@
/* Portable <string.h>
Copyright 1995 Free Software Foundation, Inc.
Copyright 1995, 1998 Free Software Foundation, Inc.
This file is part of GDB.
@ -61,7 +61,7 @@ extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
#endif
#endif
#ifndef strdup
#ifdef NEED_DECLARATION_STRDUP
extern char *strdup (); /* full prototype collides w/ some OSes (AIX 3.2.5) */
#endif