From 014f91746224fd31d2b58dcc3d6cf08ade206a87 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Mon, 3 Oct 2016 16:54:29 +0900 Subject: [PATCH] opal: fix comment in OPAL_LIST_FOREACH macro. no code change. --- opal/class/opal_list.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/opal/class/opal_list.h b/opal/class/opal_list.h index bb80afaf49..ea84470843 100644 --- a/opal/class/opal_list.h +++ b/opal/class/opal_list.h @@ -12,6 +12,8 @@ * Copyright (c) 2007 Voltaire All rights reserved. * Copyright (c) 2013 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2016 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -204,8 +206,8 @@ typedef struct opal_list_t opal_list_t; * Example Usage: * * class_foo_t *foo; - * opal_list_foreach(foo, list, class_foo_t) { - * do something; + * OPAL_LIST_FOREACH(foo, list, class_foo_t) { + * do something(foo); * } */ #define OPAL_LIST_FOREACH(item, list, type) \