diff TaskManager/kernel/schedule/SchedTask.h @ 643:bffdede05f1e

minor fix.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 21 Nov 2009 10:57:37 +0900
parents 0692b08f1cd6
children 3b6290c05f9f
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTask.h	Sat Nov 21 10:12:25 2009 +0900
+++ b/TaskManager/kernel/schedule/SchedTask.h	Sat Nov 21 10:57:37 2009 +0900
@@ -122,7 +122,7 @@
     /*!
       SPU用の get_input, get_output
      */
-
+#ifndef SIMPLE_TASK
     void* get_input(int index) {
       return get_input(readbuf, index);
     }
@@ -130,6 +130,7 @@
     void* get_output(int index) {
       return get_output(writebuf, index);
     }
+#endif
 
     // user
     HTaskPtr create_task(int cmd);