From dd877625717287a033b572ac8d90f65f6bfbc173 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 15 Oct 1998 06:59:40 +0000 Subject: [PATCH] command.c: Include "wait.h" after, rather than before, . "wait.h" was defining all WIF* macro's instead of filling in those that missed. Stops heaps of warnings from re-defining WIF*s defined in "wait.h". --- gdb/ChangeLog | 26 ++++++++++++++++++++++++++ gdb/command.c | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f97a8cf0cc8..e1e17625c87 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,29 @@ +Thu Oct 15 16:55:00 1998 Andrew Cagney + + * command.c: Include "wait.h" after, rather than before, . + "wait.h" was defining all WIF* macro's instead of filling in those + that missed. + +1998-10-14 Jason Molenda (jsm@bugshack.cygnus.com) + + * defs.h: Move _initialize_printcmd, _initialize_stack, + _initialize_blockframe out of here and in to their respective .c files. + * blockframe.c: Move _initialize_blockframe prototype to here. + * printcmd.c: Move _initialize_printcmd prototype to here. + * stack.c: Move _initialize_stack prototype to here. + + * source.c, symtab.h: Move _initialize_source prototype to the .c file. + * values.c, value.h: Move _initialize_values prototype to the .c file. + * gdbthread.h, thread.c: Move _initialize_thread prototype to the .c + file. + * breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype + to the .c file. + + * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c: + Standardize comments for the prototype section of these files. + + * configure.in: Look in libc for wctype before looking for it in libc. + Tue Oct 13 18:56:51 1998 Felix Lee * sol-thread.c (ps_pstop, etc): simple test for proc_service.h diff --git a/gdb/command.c b/gdb/command.c index 962101d05cd..10308d55d27 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -19,7 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "gdbcmd.h" #include "symtab.h" #include "value.h" -#include "wait.h" #include #include "gdb_string.h" #ifdef HAVE_UNISTD_H @@ -34,6 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # endif #endif +#include "wait.h" + /* Prototypes for local functions */ static void -- 2.30.2