Ver código fonte

prevent multiple inclusion

Samuel Thibault 12 anos atrás
pai
commit
dece669783
1 arquivos alterados com 3 adições e 0 exclusões
  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 */