* 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
This commit is contained in:
Fred Fish
1997-06-13 14:51:32 +00:00
parent adc03ece62
commit 56e327b302
11 changed files with 501 additions and 28 deletions

View File

@@ -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)
{