cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs/src ChangeLog hash.h [cvs1-11-x-branch]


From: Larry Jones
Subject: [Cvs-cvs] ccvs/src ChangeLog hash.h [cvs1-11-x-branch]
Date: Thu, 17 Aug 2006 18:07:30 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         cvs1-11-x-branch
Changes by:     Larry Jones <scjones>   06/08/17 18:07:30

Modified files:
        src            : ChangeLog hash.h 

Log message:
        * hash.h: Rename structs node and list to hashnode and hashlist
        to avoid name clashes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/ChangeLog?cvsroot=cvs&only_with_tag=cvs1-11-x-branch&r1=1.2336.2.465&r2=1.2336.2.466
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/hash.h?cvsroot=cvs&only_with_tag=cvs1-11-x-branch&r1=1.14.6.2&r2=1.14.6.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/ChangeLog,v
retrieving revision 1.2336.2.465
retrieving revision 1.2336.2.466
diff -u -b -r1.2336.2.465 -r1.2336.2.466
--- ChangeLog   26 Jul 2006 07:21:59 -0000      1.2336.2.465
+++ ChangeLog   17 Aug 2006 18:07:29 -0000      1.2336.2.466
@@ -1,3 +1,8 @@
+2006-08-17  Larry Jones  <address@hidden>
+
+       * hash.h: Rename structs node and list to hashnode and hashlist
+       to avoid name clashes.
+
 2006-07-25  Mark D. Baushke  <address@hidden>
 
        * login.c (free_cvs_password): New function to control freeing of

Index: hash.h
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/hash.h,v
retrieving revision 1.14.6.2
retrieving revision 1.14.6.3
diff -u -b -r1.14.6.2 -r1.14.6.3
--- hash.h      31 Jan 2005 22:15:11 -0000      1.14.6.2
+++ hash.h      17 Aug 2006 18:07:29 -0000      1.14.6.3
@@ -27,26 +27,26 @@
 };
 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));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]