diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-05-10 19:11:02 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-05-10 19:11:02 +0000 |
commit | fa5572714eed920f6d162a1d7ab08d990926ba83 (patch) | |
tree | 177ec0e71fe21a5993376d22f9d842960833b246 /gcc/cpphash.h | |
parent | e54930f9a3cdfc6347ec4887bad203539501f846 (diff) | |
download | gcc-fa5572714eed920f6d162a1d7ab08d990926ba83.zip gcc-fa5572714eed920f6d162a1d7ab08d990926ba83.tar.gz gcc-fa5572714eed920f6d162a1d7ab08d990926ba83.tar.bz2 |
cpphash.h (struct hashnode): Use struct hack for name member.
* cpphash.h (struct hashnode): Use struct hack for name
member.
* cpphash.c (struct hashdummy): New.
(eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
(make_HASHNODE): No need to set ->name pointer. Correct
setting of p.
(cpp_lookup): Make 'dummy' a struct hashdummy. Tidy up a bit.
From-SVN: r33828
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 925aac7..4b8c50e 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -67,7 +67,7 @@ struct hashnode struct hashnode *aschain; /* #assert */ } value; - const U_CHAR *name; + const U_CHAR name[1]; /* name[length] */ }; /* List of directories to look for include files in. */ |