Skip to content

Commit 24139ac

Browse files
committed
Obsequi: fix implicit declaration of a function, breaks -Werror builds.
llvm-svn: 366287
1 parent 7ed3597 commit 24139ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

MultiSource/Applications/obsequi/negamax.c

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <time.h>
66
#include <ctype.h>
77

8+
#define PRINT_DOES_X_WIN_INFO
89

910
//#################################################################
1011
// Statistics gathering variables and functions.
@@ -304,6 +305,12 @@ search_for_move(char dir, s32bit *row, s32bit *col, u64bit *nodes)
304305
return value;
305306
}
306307

308+
extern s32bit
309+
#ifdef PRINT_DOES_X_WIN_INFO
310+
does_next_player_win(s32bit next_player, s32bit print);
311+
#else
312+
does_next_player_win(s32bit next_player);
313+
#endif
307314

308315
//=================================================================
309316
// Negamax Function.

0 commit comments

Comments
 (0)