Skip to content

Commit 014f917

Browse files
committed
opal: fix comment in OPAL_LIST_FOREACH macro. no code change.
1 parent 13d49c1 commit 014f917

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

opal/class/opal_list.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* Copyright (c) 2007 Voltaire All rights reserved.
1313
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
1414
* reserved.
15+
* Copyright (c) 2016 Research Organization for Information Science
16+
* and Technology (RIST). All rights reserved.
1517
* $COPYRIGHT$
1618
*
1719
* Additional copyrights may follow
@@ -204,8 +206,8 @@ typedef struct opal_list_t opal_list_t;
204206
* Example Usage:
205207
*
206208
* class_foo_t *foo;
207-
* opal_list_foreach(foo, list, class_foo_t) {
208-
* do something;
209+
* OPAL_LIST_FOREACH(foo, list, class_foo_t) {
210+
* do something(foo);
209211
* }
210212
*/
211213
#define OPAL_LIST_FOREACH(item, list, type) \

0 commit comments

Comments
 (0)