[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd-l4/libhurd-ihash ihash.h
From: |
Marcus Brinkmann |
Subject: |
hurd-l4/libhurd-ihash ihash.h |
Date: |
Sun, 07 Sep 2003 14:59:23 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd-l4
Branch:
Changes by: Marcus Brinkmann <address@hidden> 03/09/07 14:59:23
Modified files:
libhurd-ihash : ihash.h
Log message:
Fix macro.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libhurd-ihash/ihash.h.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
Patches:
Index: hurd-l4/libhurd-ihash/ihash.h
diff -u hurd-l4/libhurd-ihash/ihash.h:1.7 hurd-l4/libhurd-ihash/ihash.h:1.8
--- hurd-l4/libhurd-ihash/ihash.h:1.7 Tue Aug 26 18:47:18 2003
+++ hurd-l4/libhurd-ihash/ihash.h Sun Sep 7 14:59:23 2003
@@ -216,16 +216,16 @@
pointer pointed to must not have an influence on the condition
result, so the comma operator is used to make sure this
subexpression is always true). */
-#define HURD_IHASH_ITERATE(ht, value) \
- for (hurd_ihash_value_t value, \
+#define HURD_IHASH_ITERATE(ht, val) \
+ for (hurd_ihash_value_t val, \
*_hurd_ihash_valuep = (ht)->size ? &(ht)->items[0].value : 0; \
(ht)->size \
&& ((_hurd_ihash_item_t) _hurd_ihash_valuep) - &(ht)->items[0]
\
< (ht)->size \
- && (value = *_hurd_ihash_valuep, 1); \
+ && (val = *_hurd_ihash_valuep, 1); \
_hurd_ihash_valuep = (hurd_ihash_value_t *) \
(((_hurd_ihash_item_t) _hurd_ihash_valuep)++)) \
- if (value != _HURD_IHASH_EMPTY && value != _HURD_IHASH_DELETED)
+ if (val != _HURD_IHASH_EMPTY && val != _HURD_IHASH_DELETED)
/* Remove the entry with the key KEY from the hash table HT. If such
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd-l4/libhurd-ihash ihash.h,
Marcus Brinkmann <=