[Cbe-oss-dev] [PATCH 6/7]MARS/task: Fix includes

Yuji Mano yuji.mano at am.sony.com
Sat Jan 17 07:36:52 EST 2009


Fix some header includes in task sources.

Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

---
 task/src/mpu/lib/task.c           |    4 ++++
 task/src/mpu/module/task_module.c |    9 +++++++++
 task/src/mpu/module/task_module.h |    8 --------
 3 files changed, 13 insertions(+), 8 deletions(-)

--- a/task/src/mpu/lib/task.c
+++ b/task/src/mpu/lib/task.c
@@ -35,8 +35,12 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include <stdlib.h>
+
 #include "config.h"
 
+#include <mars/error.h>
+
 #include "mars/task.h"
 
 #include "task_module.h"
--- a/task/src/mpu/module/task_module.c
+++ b/task/src/mpu/module/task_module.c
@@ -35,6 +35,15 @@
  * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
  */
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <spu_mfcio.h>
+
+#include <mars/dma.h>
+#include <mars/error.h>
+#include <mars/module.h>
+
 #include "config.h"
 
 #include "task_module.h"
--- a/task/src/mpu/module/task_module.h
+++ b/task/src/mpu/module/task_module.h
@@ -38,15 +38,7 @@
 #ifndef MARS_TASK_MODULE_H
 #define MARS_TASK_MODULE_H
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <stdint.h>
-#include <string.h>
-
-#include <mars/dma.h>
-#include <mars/error.h>
-#include <mars/module.h>
-#include <mars/mutex.h>
 
 #include "mars/task_types.h"
 





More information about the cbe-oss-dev mailing list