ソースを参照

prevent multiple inclusion

Samuel Thibault 12 年 前
コミット
dece669783
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      src/util/starpu_task_list_inline.h

+ 3 - 0
src/util/starpu_task_list_inline.h

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#ifndef __STARPU_TASK_LIST_INLINE_H
+#define __STARPU_TASK_LIST_INLINE_H
 #include <starpu.h>
 
 #ifndef STARPU_INLINE
@@ -148,3 +150,4 @@ struct starpu_task *starpu_task_list_next(struct starpu_task *task)
 {
 	return task->next;
 }
+#endif /* __STARPU_TASK_LIST_INLINE_H */