From 2f17044dce0dc62f1afcef1d103b90ef71bb758d Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 20 May 2008 16:00:13 +0000 Subject: [PATCH] Update macro list name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1309 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/dt/dnotifier.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bertos/dt/dnotifier.h b/bertos/dt/dnotifier.h index 09a2c348..9560d3c8 100644 --- a/bertos/dt/dnotifier.h +++ b/bertos/dt/dnotifier.h @@ -40,7 +40,6 @@ #define DT_DNOTIFIER_H #include -#include #include
#include @@ -130,8 +129,8 @@ INLINE void dnotify(DNotifier *target, dtag_t tag, dval_t val) INLINE void dnotify_targets(DNotifier *target, dtag_t tag, dval_t val) { DFilter *f; - if (!ISLISTEMPTY(&target->targets)) - FOREACHNODE(f, &target->targets) + if (!LIST_EMPTY(&target->targets)) + FOREACH_NODE(f, &target->targets) f->update(f, tag, val); } -- 2.25.1