瀏覽代碼

protect header from multiple inclusion

Samuel Thibault 13 年之前
父節點
當前提交
4e4e2df9f4
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tests/helper.h

+ 3 - 0
tests/helper.h

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#ifndef _TESTS_HELPER_H
+#define _TESTS_HELPER_H
 #include <errno.h>
 #include <common/utils.h>
 
@@ -71,3 +73,4 @@ static int _starpu_valgrind_print_once = 0;
 #else
 #  define STARPU_RETURN(ret) return ret
 #endif
+#endif /* _TESTS_HELPER_H */