summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src/hash.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-03-19 14:46:59 +0000
committerobrien <obrien@FreeBSD.org>2008-03-19 14:46:59 +0000
commitc54c20f64254351041b8ea9719450e4d774ac0a5 (patch)
tree0ae354b8af76926a31947d53202545980b36afe4 /contrib/cvs/src/hash.h
parent5f43f46b30a84be45042a4dd83992110d7588aad (diff)
downloadFreeBSD-src-c54c20f64254351041b8ea9719450e4d774ac0a5.zip
FreeBSD-src-c54c20f64254351041b8ea9719450e4d774ac0a5.tar.gz
Import of 1.11 branch snapshot - using the 10-March-2008 code base.
Diffstat (limited to 'contrib/cvs/src/hash.h')
-rw-r--r--contrib/cvs/src/hash.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/cvs/src/hash.h b/contrib/cvs/src/hash.h
index a31fc5d..77d095a 100644
--- a/contrib/cvs/src/hash.h
+++ b/contrib/cvs/src/hash.h
@@ -27,26 +27,26 @@ enum ntype
};
typedef enum ntype Ntype;
-struct node
+struct hashnode
{
Ntype type;
- struct node *next;
- struct node *prev;
- struct node *hashnext;
- struct node *hashprev;
+ struct hashnode *next;
+ struct hashnode *prev;
+ struct hashnode *hashnext;
+ struct hashnode *hashprev;
char *key;
void *data;
void (*delproc) ();
};
-typedef struct node Node;
+typedef struct hashnode Node;
-struct list
+struct hashlist
{
Node *list;
Node *hasharray[HASHSIZE];
- struct list *next;
+ struct hashlist *next;
};
-typedef struct list List;
+typedef struct hashlist List;
List *getlist PROTO((void));
Node *findnode PROTO((List * list, const char *key));
OpenPOWER on IntegriCloud