Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/postfix/util Avoid shadowing a local in users of bi...



details:   https://anonhg.NetBSD.org/src/rev/a94f35f3b179
branches:  trunk
changeset: 486142:a94f35f3b179
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun May 14 01:55:05 2000 +0000

description:
Avoid shadowing a local in users of binhash_link().

diffstat:

 gnu/dist/postfix/util/binhash.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r b71b08be5b76 -r a94f35f3b179 gnu/dist/postfix/util/binhash.c
--- a/gnu/dist/postfix/util/binhash.c   Sun May 14 01:47:13 2000 +0000
+++ b/gnu/dist/postfix/util/binhash.c   Sun May 14 01:55:05 2000 +0000
@@ -146,11 +146,11 @@
 /* binhash_link - insert element into table */
 
 #define binhash_link(table, elm) { \
-    BINHASH_INFO **h = table->data + binhash_hash(elm->key, elm->key_len, table->size);\
+    BINHASH_INFO **_h = table->data + binhash_hash(elm->key, elm->key_len, table->size);\
     elm->prev = 0; \
-    if ((elm->next = *h) != 0) \
-       (*h)->prev = elm; \
-    *h = elm; \
+    if ((elm->next = *_h) != 0) \
+       (*_h)->prev = elm; \
+    *_h = elm; \
     table->used++; \
 }
 



Home | Main Index | Thread Index | Old Index