diff options
author | Fred Fish <fnf@specifix.com> | 1997-06-13 14:51:32 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1997-06-13 14:51:32 +0000 |
commit | 56e327b302eee034d0b5c069163023e4cd81b0b7 (patch) | |
tree | 590bf7971768931f17ba5d883ee96b243ae742be /gdb/gdbtk.c | |
parent | adc03ece6288d971ea4eaab90d00abef5ef49cb7 (diff) | |
download | gdb-56e327b302eee034d0b5c069163023e4cd81b0b7.zip gdb-56e327b302eee034d0b5c069163023e4cd81b0b7.tar.gz gdb-56e327b302eee034d0b5c069163023e4cd81b0b7.tar.bz2 |
* 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
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r-- | gdb/gdbtk.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) { |