summaryrefslogtreecommitdiffstats
path: root/lib/list_util.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-04-16 22:28:41 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-04-16 22:28:41 +0100
commit075b751cfe1ae87c416eceb68e01b5f8b9a9e92b (patch)
tree1d6089008cab2d37422e5859c5e8c04faf1ba23e /lib/list_util.h
parent62ecf51e3c652c65c84bb94d794f2533cee1fb9c (diff)
downloadquagga-075b751cfe1ae87c416eceb68e01b5f8b9a9e92b.tar.bz2
quagga-075b751cfe1ae87c416eceb68e01b5f8b9a9e92b.tar.xz
Further reduction of warnings under gcc 4.2.1
Diffstat (limited to 'lib/list_util.h')
-rw-r--r--lib/list_util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/list_util.h b/lib/list_util.h
index 10ba8b0c..e5a8b4c0 100644
--- a/lib/list_util.h
+++ b/lib/list_util.h
@@ -238,15 +238,14 @@ struct dl_void_base_pair base_pair(void*) ;
((base) = NULL)
#define ssl_push(base, item, next) \
- do { confirm(_lu_off(base, next) == _lu_off(item, next)) ; \
- (item)->next = (base) ; \
+ do { (item)->next = (base) ; \
(base) = item ; \
} while (0)
extern int ssl_del_func(void** p_this, void* obj, size_t link_offset) ;
#define ssl_del(base, item, next) \
- ssl_del_func((void**)&(base), item, _lu_off(base, next))
+ ssl_del_func((void**)&(base), item, _lu_off(item, next))
#define ssl_del_head(base, next) \
do { if ((base) != NULL) \