[Cbe-oss-dev] [PATCH 11/17]MARS/modules/task: Include config.h

Yuji Mano yuji.mano at am.sony.com
Wed Nov 26 14:40:22 EST 2008


From: Kazunori Asayama <asayama at sm.sony.co.jp>

Include config.h in sources

Signed-off-by: Kazunori Asayama <asayama at sm.sony.co.jp>
---
 modules/task/src/host/lib/task.c            |    2 ++
 modules/task/src/host/lib/task_barrier.c    |    2 ++
 modules/task/src/host/lib/task_event_flag.c |    2 ++
 modules/task/src/host/lib/task_queue.c      |    2 ++
 modules/task/src/host/lib/task_semaphore.c  |    2 ++
 modules/task/src/host/lib/task_signal.c     |    2 ++
 modules/task/src/mpu/lib/task.c             |    2 ++
 modules/task/src/mpu/lib/task_barrier.c     |    2 ++
 modules/task/src/mpu/lib/task_event_flag.c  |    2 ++
 modules/task/src/mpu/lib/task_queue.c       |    2 ++
 modules/task/src/mpu/lib/task_semaphore.c   |    2 ++
 modules/task/src/mpu/lib/task_signal.c      |    2 ++
 modules/task/src/mpu/module/task_module.c   |    2 ++
 13 files changed, 26 insertions(+)

--- a/modules/task/src/host/lib/task.c
+++ b/modules/task/src/host/lib/task.c
@@ -39,6 +39,8 @@
 #include <libspe2.h>
 #include <string.h>
 
+#include "config.h"
+
 #include <mars/context.h>
 #include <mars/core.h>
 #include <mars/error.h>
--- a/modules/task/src/host/lib/task_barrier.c
+++ b/modules/task/src/host/lib/task_barrier.c
@@ -35,6 +35,8 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include "config.h"
+
 #include <mars/core.h>
 #include <mars/error.h>
 #include <mars/mutex.h>
--- a/modules/task/src/host/lib/task_event_flag.c
+++ b/modules/task/src/host/lib/task_event_flag.c
@@ -38,6 +38,8 @@
 #include <sched.h>
 #include <string.h>
 
+#include "config.h"
+
 #include <mars/context.h>
 #include <mars/core.h>
 #include <mars/error.h>
--- a/modules/task/src/host/lib/task_queue.c
+++ b/modules/task/src/host/lib/task_queue.c
@@ -38,6 +38,8 @@
 #include <sched.h>
 #include <string.h>
 
+#include "config.h"
+
 #include <mars/context.h>
 #include <mars/core.h>
 #include <mars/error.h>
--- a/modules/task/src/host/lib/task_semaphore.c
+++ b/modules/task/src/host/lib/task_semaphore.c
@@ -37,6 +37,8 @@
 
 #include <stdlib.h>
 
+#include "config.h"
+
 #include <mars/core.h>
 #include <mars/error.h>
 #include <mars/mutex.h>
--- a/modules/task/src/host/lib/task_signal.c
+++ b/modules/task/src/host/lib/task_signal.c
@@ -35,6 +35,8 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include "config.h"
+
 #include <mars/context.h>
 #include <mars/core.h>
 #include <mars/error.h>
--- a/modules/task/src/mpu/lib/task.c
+++ b/modules/task/src/mpu/lib/task.c
@@ -35,6 +35,8 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include "config.h"
+
 #include "mars/task.h"
 
 #include "task_module.h"
--- a/modules/task/src/mpu/lib/task_barrier.c
+++ b/modules/task/src/mpu/lib/task_barrier.c
@@ -35,6 +35,8 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include "config.h"
+
 #include <mars/error.h>
 #include <mars/mutex.h>
 
--- a/modules/task/src/mpu/lib/task_event_flag.c
+++ b/modules/task/src/mpu/lib/task_event_flag.c
@@ -37,6 +37,8 @@
 
 #include <string.h>
 
+#include "config.h"
+
 #include <mars/error.h>
 #include <mars/mutex.h>
 
--- a/modules/task/src/mpu/lib/task_queue.c
+++ b/modules/task/src/mpu/lib/task_queue.c
@@ -37,6 +37,8 @@
 
 #include <string.h>
 
+#include "config.h"
+
 #include <mars/dma.h>
 #include <mars/error.h>
 #include <mars/mutex.h>
--- a/modules/task/src/mpu/lib/task_semaphore.c
+++ b/modules/task/src/mpu/lib/task_semaphore.c
@@ -38,6 +38,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "config.h"
+
 #include <mars/error.h>
 #include <mars/mutex.h>
 
--- a/modules/task/src/mpu/lib/task_signal.c
+++ b/modules/task/src/mpu/lib/task_signal.c
@@ -35,6 +35,8 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include "config.h"
+
 #include <mars/error.h>
 
 #include "mars/task_types.h"
--- a/modules/task/src/mpu/module/task_module.c
+++ b/modules/task/src/mpu/module/task_module.c
@@ -35,6 +35,8 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include "config.h"
+
 #include "task_module.h"
 
 /* stack pointer storage */





More information about the cbe-oss-dev mailing list