From ac95dc5eebaa4f45ab2b928be390f9b1678de1bc Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Wed, 9 Dec 1998 00:38:46 +0000 Subject: 1998-12-08 Philippe De Muyter * config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window' must accept a signal number as parameter. * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto. * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'. * inferior.h (register_valid): Variable's type is `SIGNED char', not `char'. * findvar.c (register_valid): Ditto. * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'. * gdbthread.h (unbind_target_thread_vector): Likewise. --- gdb/config/rs6000/xm-rs6000.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gdb/config/rs6000') diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h index df30db8..44b8b24 100644 --- a/gdb/config/rs6000/xm-rs6000.h +++ b/gdb/config/rs6000/xm-rs6000.h @@ -1,5 +1,5 @@ /* Parameters for hosting on an RS6000, for GDB, the GNU debugger. - Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. + Copyright 1986-87, 1989, 1991-96, 1998 Free Software Foundation, Inc. Contributed by IBM Corporation. This file is part of GDB. @@ -72,7 +72,7 @@ extern char *strdup PARAMS ((char *)); /* Signal handler for SIGWINCH `window size changed'. */ #define SIGWINCH_HANDLER aix_resizewindow -extern void aix_resizewindow PARAMS ((void)); +extern void aix_resizewindow PARAMS ((int)); /* This doesn't seem to be declared in any header file I can find. */ char *termdef PARAMS ((int, int)); @@ -82,10 +82,11 @@ char *termdef PARAMS ((int, int)); #define SIGWINCH_HANDLER_BODY \ \ /* Respond to SIGWINCH `window size changed' signal, and reset GDB's \ - window settings approproatelt. */ \ + window settings appropriately. */ \ \ void \ -aix_resizewindow () \ +aix_resizewindow (signo) \ + int signo; \ { \ int fd = fileno (stdout); \ if (isatty (fd)) { \ -- cgit v1.1