diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2008-03-19 14:46:59 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2008-03-19 14:46:59 +0000 |
commit | 76fd2245b5dc6793b57cc7c3bf4fc6af7a352563 (patch) | |
tree | 0ae354b8af76926a31947d53202545980b36afe4 /contrib/cvs/src/hash.h | |
parent | 274835303c48ac29e7fd30a670e7a02fe78595e2 (diff) |
Notes
Diffstat (limited to 'contrib/cvs/src/hash.h')
-rw-r--r-- | contrib/cvs/src/hash.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/cvs/src/hash.h b/contrib/cvs/src/hash.h index a31fc5dd04fe..77d095a4e00f 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)); |