mirror of
https://github.com/nelsbrock/dev-tictactoe.git
synced 2026-08-14 20:56:49 +02:00
remove unnecessary return value of tictactoe_game_init
This commit is contained in:
+1
-3
@@ -7,7 +7,7 @@
|
||||
/*
|
||||
* Initializes a new game instance.
|
||||
*/
|
||||
int tictactoe_game_init(ttt_game_t *game)
|
||||
void tictactoe_game_init(ttt_game_t *game)
|
||||
{
|
||||
game->next_turn = 'X';
|
||||
game->winner = 0;
|
||||
@@ -16,8 +16,6 @@ int tictactoe_game_init(ttt_game_t *game)
|
||||
game->board[x][y] = ' ';
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user