aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/hashtable.h
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-07-11 03:40:53 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-07-11 03:40:53 +0000
commitbd0df3aa27aac083bd60b649fa5347076a5126eb (patch)
treef6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/hashtable.h
parentfabd8bcd49e1046bc9abdcb4efaea04638630b6f (diff)
Notes
Diffstat (limited to 'contrib/gcc/hashtable.h')
-rw-r--r--contrib/gcc/hashtable.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/gcc/hashtable.h b/contrib/gcc/hashtable.h
index cd6c7f0be062..0649ad2b7da3 100644
--- a/contrib/gcc/hashtable.h
+++ b/contrib/gcc/hashtable.h
@@ -23,10 +23,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* This is what each hash table entry points to. It may be embedded
deeply within another object. */
typedef struct ht_identifier ht_identifier;
-struct ht_identifier
+struct ht_identifier GTY(())
{
- unsigned int len;
const unsigned char *str;
+ unsigned int len;
+ unsigned int hash_value;
};
#define HT_LEN(NODE) ((NODE)->len)
@@ -65,7 +66,7 @@ struct ht
extern void gcc_obstack_init PARAMS ((struct obstack *));
-/* Initialise the hashtable with 2 ^ order entries. */
+/* Initialize the hashtable with 2 ^ order entries. */
extern hash_table *ht_create PARAMS ((unsigned int order));
/* Frees all memory associated with a hash table. */