diff schedule.cc @ 100:e5f2eb98b575

change cc
author e085768
date Thu, 02 Jun 2011 18:19:07 +0900
parents c534f339ee8b
children 8a525ec378fc
line wrap: on
line diff
--- a/schedule.cc	Thu Jun 02 17:51:41 2011 +0900
+++ b/schedule.cc	Thu Jun 02 18:19:07 2011 +0900
@@ -68,15 +68,15 @@
 static LIGHT l;
 static int i=0;
 
-static void (*sche_func_assumption)();
-static void (*sche_func)() = &sche_game_init;
+static void (*sche_func_assumption)(Game*);
+static void (*sche_func)(Game*) = &sche_game_init;
 static int change_state = 0;
 
 // schedule.cで使用してる
 void linda_env_init( void );
 
 static void
-set_schedule_assumption(void *_func)
+set_schedule_assumption(void (*_func)(Game*) )
 {
   sche_func_assumption = _func;
   change_state = 1;