diff options
author | Sebastien Douheret | 2013-04-03 07:58:35 +0000 |
---|---|---|
committer | Didier Brachet | 2013-04-03 09:02:51 +0000 |
commit | 9933db012eb892c2db0e14bf145269a85fd5a6f6 (patch) | |
tree | bd0a474fdb39dd2cc2795cc3627eee67a949f75e /agent/tcf | |
parent | e03b8ad848100ba0e8be98c10c0c1060cec5af2e (diff) | |
download | org.eclipse.tcf.agent-9933db012eb892c2db0e14bf145269a85fd5a6f6.tar.gz org.eclipse.tcf.agent-9933db012eb892c2db0e14bf145269a85fd5a6f6.tar.xz org.eclipse.tcf.agent-9933db012eb892c2db0e14bf145269a85fd5a6f6.zip |
TCF Agent - Bug 404777 - Add list_foreach macro definition
Diffstat (limited to 'agent/tcf')
-rw-r--r-- | agent/tcf/framework/link.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/tcf/framework/link.h b/agent/tcf/framework/link.h index e47f7e5a..aed67a21 100644 --- a/agent/tcf/framework/link.h +++ b/agent/tcf/framework/link.h @@ -64,4 +64,7 @@ struct LINK { } \ } +#define list_foreach(trav,list) \ + for (trav = (list)->next; trav != list; trav = trav->next) + #endif /* D_link */ |