This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] Trivial fix for warning in utils.c


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?

-- 
Laurent Guerby <guerby@acm.org>


2001-11-16  Laurent Guerby  <guerby@acm.org>
	
	* utils.c: Fix warning.

Index: utils.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/utils.c,v
retrieving revision 1.4
diff -c -3 -p -r1.4 utils.c
*** utils.c	2001/11/15 10:00:54	1.4
--- utils.c	2001/11/16 19:04:57
*************** pushdecl (decl)
*** 478,484 ****
     front end has been run.  */
  
  void
! gnat_init_decl_processing ()
  {
    lineno = 0;
  
--- 478,484 ----
     front end has been run.  */
  
  void
! gnat_init_decl_processing (void)
  {
    lineno = 0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]