From 9663cd58f12f4d8cf1fd5a20d0c59612cc13bbea Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 9 Jul 2009 17:51:17 +0000 Subject: [PATCH] Fixed ELL*_INIT macros. --- src/libCom/ellLib/ellLib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/ellLib/ellLib.h b/src/libCom/ellLib/ellLib.h index 20178a421..9af5487c2 100644 --- a/src/libCom/ellLib/ellLib.h +++ b/src/libCom/ellLib/ellLib.h @@ -25,14 +25,14 @@ typedef struct ELLNODE { struct ELLNODE *previous; } ELLNODE; -#define ELLNODE_INIT ((ELLNODE) {NULL, NULL}) +#define ELLNODE_INIT {NULL, NULL} typedef struct ELLLIST { ELLNODE node; int count; } ELLLIST; -#define ELLLIST_INIT ((ELLLIST) {ELLNODE_INIT, 0}) +#define ELLLIST_INIT {ELLNODE_INIT, 0} typedef void (*FREEFUNC)(void *);