From 92f0139b5a98a30ac0924fc43900747d606f55e9 Mon Sep 17 00:00:00 2001 From: qcz Date: Wed, 20 Aug 2014 15:48:53 +0200 Subject: [PATCH] Move typedef to header file --- src/game.c | 1 - src/game.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game.c b/src/game.c index cb06621971..126f83b4c5 100644 --- a/src/game.c +++ b/src/game.c @@ -2188,7 +2188,6 @@ static int game_check_affordability(int cost) } static uint32 game_do_command_table[58]; -typedef void (GAME_COMMAND_POINTER)(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp); static GAME_COMMAND_POINTER* new_game_command_table[58]; /** diff --git a/src/game.h b/src/game.h index 92f11036ad..5c0771ca58 100644 --- a/src/game.h +++ b/src/game.h @@ -82,6 +82,8 @@ enum GAME_COMMAND { GAME_COMMAND_57 }; +typedef void (GAME_COMMAND_POINTER)(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp); + void game_create_windows(); void game_update(); void game_logic_update();