From 56e327b302eee034d0b5c069163023e4cd81b0b7 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 13 Jun 1997 14:51:32 +0000 Subject: * defs.h (perror_with_name): Is a NORETURN function. * utils.c (perror_with_name): Is a NORETURN function. (error): Is NORETURN independently of ANSI_PROTOTYPES. * symtab.c (fixup_symbol_section): Remove prototype. * symtab.h: (fixup_symbol_section): Add prototype. * m32r-rom.c (report_transfer_performance): Add prototype. * sparclet-rom.c: Ditto. * dsrec.c: Ditto. * c-exp.y (parse_number): Cast args to float* or double* as appropriate for conversion format. * java-exp.y (parse_number): Ditto. * Makefile.in (c-exp.tab.c): Remove #line lines that refer to nonexistant y.tab.c file. (java-exp.tab.c): Ditto. (f-exp.tab.c): Ditto. (m2-exp.tab.c): Ditto. start-sanitize-gdbtk * gdbtk.c (gdbtk_init): Make truth value test explicit. Remove unused static variable "Gdbtk_Library". end-sanitize-gdbtk --- gdb/gdbtk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/gdbtk.c') diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 72b711b..f82759c 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -127,8 +127,6 @@ static int running_now; static int disassemble_from_exec = -1; -static char *Gdbtk_Library; - /* Supply malloc calls for tcl/tk. */ char * @@ -1437,7 +1435,7 @@ gdbtk_init () } } } - while (lib = strtok (NULL, ":")); + while ((lib = strtok (NULL, ":")) != NULL); if (!found_main) { -- cgit v1.1