--- a/objlist.h Mon Feb 16 18:09:03 2004 +0100 +++ b/objlist.h Mon Feb 16 18:50:28 2004 +0100 @@ -18,16 +18,16 @@ DECLSTRUCT(ObjList){ - Watch watch; /* Must be kept at head of structure */ - ObjList *next, *prev; - ObjList **list; + Watch watch; /* Must be kept at head of structure */ + ObjList *next, *prev; + ObjList **list; }; #define FOR_ALL_ON_OBJLIST(TYPE, VAR, LIST) \ - for((VAR)=(TYPE)objlist_init_iter(LIST); \ - (VAR)!=NULL; \ - (VAR)=(TYPE)objlist_iter()) + for((VAR)=(TYPE)objlist_init_iter(LIST); \ + (VAR)!=NULL; \ + (VAR)=(TYPE)objlist_iter()) bool objlist_insert(ObjList **objlist, Obj *obj);