ee03b19c7a
o rename three patches to 'update-patches' naming conventions o add 64bit patches o add other tidbits from my opencm://opencm.org/everyone/todd@fries.net/home/merge-candidate branch
22 lines
804 B
Plaintext
22 lines
804 B
Plaintext
$OpenBSD: patch-base_src_common_rbtree_h,v 1.1 2002/08/27 17:43:14 todd Exp $
|
|
--- base/src/common/rbtree.h.orig Mon Jul 29 22:48:43 2002
|
|
+++ base/src/common/rbtree.h Tue Aug 27 12:25:27 2002
|
|
@@ -47,7 +47,7 @@
|
|
typedef struct rbkey rbkey;
|
|
struct rbkey {
|
|
const void *vp;
|
|
- unsigned long w;
|
|
+ u_int32_t w;
|
|
};
|
|
|
|
/* The rbnode and rbkey structures are exposed because it is sometimes
|
|
@@ -103,7 +103,7 @@ int rbtree_compare_node_to_key(rbtree*,
|
|
int rbtree_compare_nodes(rbtree*, rbnode *, rbnode *);
|
|
|
|
/* For situations where the rbnode itself is sufficient: */
|
|
-rbnode *rbnode_create(const void *kvp, unsigned long kw, const void *data);
|
|
+rbnode *rbnode_create(const void *kvp, u_int32_t kw, const void *data);
|
|
|
|
#ifndef NDEBUG
|
|
/* tree_validate() -- check the subtree of ROOT rooted at NODE for
|