diff example/many_task/sort.h @ 400:00fe05184a02

Fix examples.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 21 Sep 2009 18:47:06 +0900
parents d54cbfafcb82
children c13bbb7d70b3
line wrap: on
line diff
--- a/example/many_task/sort.h	Mon Sep 21 18:03:31 2009 +0900
+++ b/example/many_task/sort.h	Mon Sep 21 18:47:06 2009 +0900
@@ -1,3 +1,5 @@
+#include "TaskManager.h"
+
 // array position
 typedef struct Data {
     int index;
@@ -5,4 +7,7 @@
     int pad[2];
 } Data, *DataPtr;
 
+extern void sort_init(TaskManager *,int, int);
+
+
 #define MAX_BLOCK_SIZE (int)(1024*16/(sizeof(Data)))