summaryrefslogtreecommitdiff
path: root/contrib/cvs/src/hash.h
diff options
context:
space:
mode:
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 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));