明明没有重复定义,为啥会提示首次定义
#include "GameControl.h"void startGame(){}
void readyGame(){
setTitle("小道士");
setWinSize(60,27);
drawControlPanel();
draw_game_panel();
ControlPanelOperator control_op = {
draw_game_panel,
drawSettingPanel,
startGame
};
setControlPanelOperator(&control_op);
while(1)
{
control_panel_key_bind();
Sleep(100);
}
}
obj\Debug\control\GameControl.o:D:\CodeBlocks\Ssssssnacke\control\GameControl.c|7|first defined here|
||error: ld returned 1 exit status|