* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so
language.c can use it. (Though language.c should really not be handling warnings/errors the way it does, FIXME.) * symtab.c (lookup_primitive_type): const lint.
This commit is contained in:
parent
abc52b8069
commit
c2536607c6
@ -1,3 +1,15 @@
|
||||
Fri Sep 20 02:28:15 1991 John Gilmore (gnu at cygnus.com)
|
||||
|
||||
* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so
|
||||
language.c can use it. (Though language.c should really not be
|
||||
handling warnings/errors the way it does, FIXME.)
|
||||
* symtab.c (lookup_primitive_type): const lint.
|
||||
|
||||
Bugfix from Peter Schauer:
|
||||
* source.c (lines_to_list): Make signed, to avoid comparison
|
||||
going unsigned and complaining that -3 is too high for 21 lines.
|
||||
* stack.c (lines_to_list): Ditto.
|
||||
|
||||
Thu Sep 19 23:33:41 1991 John Gilmore (gnu at cygnus.com)
|
||||
|
||||
* Makefile.in (HFILES): Add minimon.h.
|
||||
|
@ -192,7 +192,8 @@ type_name_no_tag (type)
|
||||
If this is a stubbed struct (i.e. declared as struct foo *), see if
|
||||
we can find a full definition in some other file. If so, copy this
|
||||
definition, so we can use it in future. If not, set a flag so we
|
||||
don't waste too much time in future.
|
||||
don't waste too much time in future. (FIXME, this doesn't seem
|
||||
to be happening...)
|
||||
|
||||
This used to be coded as a macro, but I don't think it is called
|
||||
often enough to merit such treatment.
|
||||
@ -257,7 +258,7 @@ struct type *
|
||||
lookup_primitive_typename (name)
|
||||
char *name;
|
||||
{
|
||||
struct type ***p;
|
||||
struct type ** const *p;
|
||||
|
||||
for (p = current_language->la_builtin_type_vector; *p; p++)
|
||||
if(!strcmp((**p)->name, name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user