[test-suite] r366287 - Obsequi: fix implicit declaration of a function, breaks -Werror builds.
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 17:09:41 PDT 2019
Author: aemerson
Date: Tue Jul 16 17:09:41 2019
New Revision: 366287
URL: http://llvm.org/viewvc/llvm-project?rev=366287&view=rev
Log:
Obsequi: fix implicit declaration of a function, breaks -Werror builds.
Modified:
test-suite/trunk/MultiSource/Applications/obsequi/negamax.c
Modified: test-suite/trunk/MultiSource/Applications/obsequi/negamax.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/obsequi/negamax.c?rev=366287&r1=366286&r2=366287&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/obsequi/negamax.c (original)
+++ test-suite/trunk/MultiSource/Applications/obsequi/negamax.c Tue Jul 16 17:09:41 2019
@@ -5,6 +5,7 @@
#include <time.h>
#include <ctype.h>
+#define PRINT_DOES_X_WIN_INFO
//#################################################################
// Statistics gathering variables and functions.
@@ -304,6 +305,12 @@ search_for_move(char dir, s32bit *row, s
return value;
}
+extern s32bit
+#ifdef PRINT_DOES_X_WIN_INFO
+does_next_player_win(s32bit next_player, s32bit print);
+#else
+does_next_player_win(s32bit next_player);
+#endif
//=================================================================
// Negamax Function.
More information about the llvm-commits
mailing list