aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-02-15 16:36:35 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-02-15 16:36:35 +0000
commit9f8f4efee32849800cfcaeed33aefac921f9b96b (patch)
tree78563287bbedbadc21e8f1ef9e40b0017dbde018 /gcc/cpphash.c
parent6ad91f8611f1ebf292a8972ff93655deb28cbc0b (diff)
downloadgcc-9f8f4efee32849800cfcaeed33aefac921f9b96b.zip
gcc-9f8f4efee32849800cfcaeed33aefac921f9b96b.tar.gz
gcc-9f8f4efee32849800cfcaeed33aefac921f9b96b.tar.bz2
Makefile.in (TREE_H, [...]): Depend on version.h.
* 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. * mcore/mcore-pe.h: 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. From-SVN: r31984
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index fc2b8ff..863240b 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -27,6 +27,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "system.h"
#include "cpplib.h"
#include "cpphash.h"
+#include "version.h"
#undef abort
static unsigned int hashf PARAMS ((const U_CHAR *, int));
@@ -45,8 +46,6 @@ static void special_symbol PARAMS ((HASHNODE *, cpp_reader *));
#define CPP_IS_MACRO_BUFFER(PBUF) ((PBUF)->data != NULL)
#define FORWARD(N) CPP_FORWARD (CPP_BUFFER (pfile), (N))
-extern char *version_string;
-
/* The arglist structure is built by create_definition to tell
collect_expansion where the argument names begin. That
is, for a define like "#define f(x,y,z) foo+x-bar*y", the arglist