Patch: New file version.h, eliminate explicit decls of version_string

Jeffrey A Law law@cygnus.com
Sun Feb 13 13:01:00 GMT 2000


  In message < 200002092107.QAA17692@caip.rutgers.edu >you write:
  > This patch eliminates explicit declarations of `version_string' and
  > instead uses a new file version.h.  Also `version_string' is const-ified.
  > 
  > Okay to install?
  > 
  > 
  > 2000-02-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
  > 
  > 	* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
  > 	cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
  > 
  > 	* cccp.c: Include version.h and/or don't declare `version_string'.
  > 	* collect2.c: Likewise.
  > 	* alpha.c: Likewise.
  > 	* arm/aof.h: Likewise.
  > 	* arm/coff.h: Likewise.
  > 	* arm/elf.h: Likewise.
  > 	* arm/pe.h: Likewise.
  > 	* arm/tcoff.h: Likewise.
  > 	* arm/telf.h: Likewise.
  > 	* arm/tpe.h: Likewise.
  > 	* arm/vxarm.h: Likewise.
  > 	* convex/convex.c: Likewise.
  > 	* i386/dgux.c: Likewise.
  > 	* i386/sun386.h: Likewise.
  > 	* m88k/m88k.c: Likewise.
  > 	* mips/mips.h: Likewise.
  > 	* romp/romp.h: Likewise.
  > 	* sh/sh.c: Likewise.
  > 	* cpphash.c: Likewise.
  > 	* cppinit.c: Likewise.
  > 	* dwarf2out.c: Likewise.
  > 	* dwarfout.c: Likewise.
  > 	* gcc.c: Likewise.
  > 	* gcc.h: Likewise.
  > 	* mips-tfile.c: Likewise.
  > 	* protoize.c: Likewise.
  > 	* toplev.c: Likewise.
  > 	* tree.h: Likewise.
  > 	
  > 	* version.c (version_string): Constify a char*.
  > 
  > 	* version.h: New file.
  > 
  > ch:	
  > 	* grant.c: Don't declare `version_string'.
  > 
  > f:
  > 	* g77spec.c: Don't declare `version_string'.
  > 
  > java:
  > 	* Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with
  > 	version.o.
  > 	(jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h.
  > 
  > 	* gjavah.c: Include version.h.
  > 	
  > 	* jcf-dump.c: Likewise.
  > 
  > 	* jv-scan.c: Likewise.
This is fine.  Please install this change.

Thanks,
jeff



More information about the Gcc-patches mailing list