瀏覽代碼

src: remove un-needed include directives

Nathalie Furmento 11 年之前
父節點
當前提交
f0bf639f34
共有 6 個文件被更改,包括 5 次插入10 次删除
  1. 1 2
      src/common/barrier.c
  2. 2 2
      src/common/barrier.h
  3. 0 1
      src/common/barrier_counter.c
  4. 0 1
      src/common/thread.c
  5. 1 2
      src/common/utils.c
  6. 1 2
      src/core/jobs.h

+ 1 - 2
src/common/barrier.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010,2011,2013  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010,2011,2013,2014  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -16,7 +16,6 @@
 
 #include <common/barrier.h>
 #include <common/utils.h>
-#include <common/thread.h>
 
 int _starpu_barrier_init(struct _starpu_barrier *barrier, int count)
 {

+ 2 - 2
src/common/barrier.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010, 2011, 2013  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011, 2013, 2014  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -17,7 +17,7 @@
 #ifndef __COMMON_BARRIER_H__
 #define __COMMON_BARRIER_H__
 
-#include <starpu_thread.h>
+#include <starpu.h>
 
 struct _starpu_barrier
 {

+ 0 - 1
src/common/barrier_counter.c

@@ -15,7 +15,6 @@
  */
 
 #include <common/barrier_counter.h>
-#include <common/thread.h>
 
 int _starpu_barrier_counter_init(struct _starpu_barrier_counter *barrier_c, int count)
 {

+ 0 - 1
src/common/thread.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <common/thread.h>
 #include <core/simgrid.h>
 
 #ifdef STARPU_SIMGRID

+ 1 - 2
src/common/utils.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010, 2012-2014  Université de Bordeaux 1
- * Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -18,7 +18,6 @@
 #include <starpu.h>
 #include <common/config.h>
 #include <common/utils.h>
-#include <common/thread.h>
 #include <libgen.h>
 #include <errno.h>
 #include <unistd.h>

+ 1 - 2
src/core/jobs.h

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2009-2014  Université de Bordeaux 1
- * Copyright (C) 2010, 2011, 2013  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011, 2013, 2014  Centre National de la Recherche Scientifique
  * Copyright (C) 2011  Télécom-SudParis
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -37,7 +37,6 @@
 #include <core/errorcheck.h>
 #include <common/barrier.h>
 #include <common/utils.h>
-#include <common/thread.h>
 
 #ifdef STARPU_USE_CUDA
 #include <cuda.h>