repositories
/
Project_algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix to the const definition
[Project_algorithmic_C.git]
/
lib
/
constants.h
diff --git
a/lib/constants.h
b/lib/constants.h
index 74ea1d8d8a3c9222065453fe6df279e8e9965a22..902489d328688007167dbcd0299e519a5d01e98a 100644
(file)
--- a/
lib/constants.h
+++ b/
lib/constants.h
@@
-19,9
+19,11
@@
#ifndef CONSTANTS_H
#define CONSTANTS_H
-const int empty = 0;
-const int white = 1;
-const int black = 2;
+#define board_size 8
+
+extern const int empty;
+extern const int white;
+extern const int black;
#endif /* CONSTANTS_H */