[Ada] Trivial fix for warning in utils.c

Graham Stott grahams@redhat.com
Tue Nov 13 15:03:00 GMT 2001


guerby@acm.org wrote:
> 
> Fixes:
> 
> stage1/xgcc -Bstage1/ -B/home/guerby/work/gcc/install-2001-11-16-19-21-56/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    `echo -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'`  -g -O2    -I- -I. -I.. -I../../../gcc/gcc/ada -I../../../gcc/gcc/ada/.. -I../../../gcc/gcc/ada/../config -I../../../gcc/gcc/ada/../../include ../../../gcc/gcc/ada/utils.c
> ../../../gcc/gcc/ada/utils.c:482: warning: function declaration isn't a prototype
> 
> Untested but obvious, ok to commit?
> 
I think is is wrong it needs to be buildable with a K&R compiler.

The proper fix is to rename "init_decl_processing" in gigi.h

Graham



More information about the Gcc-patches mailing list