From: asterix Date: Tue, 20 May 2008 16:00:13 +0000 (+0000) Subject: Update macro list name. X-Git-Tag: 2.0.0~625 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=2f17044dce0dc62f1afcef1d103b90ef71bb758d;p=bertos.git Update macro list name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1309 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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); }