summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/move.h5
-rw-r--r--lib/move.c8
2 files changed, 0 insertions, 13 deletions
diff --git a/include/move.h b/include/move.h
index 3844fe2..6480500 100644
--- a/include/move.h
+++ b/include/move.h
@@ -11,9 +11,4 @@ Move move_init(Coord, Coord);
Coord move_get_orig(Move);
Coord move_get_dest(Move);
-/*
- * Returns 1 if Move is a valid chess movement.
- */
-int move_is_valid(Move);
-
#endif
diff --git a/lib/move.c b/lib/move.c
index 74a8eae..fa51126 100644
--- a/lib/move.c
+++ b/lib/move.c
@@ -20,11 +20,3 @@ Coord move_get_orig(Move m) {
Coord move_get_dest(Move m) {
return m.dest;
}
-
-/*
- * Returns 1 if Move is a valid chess movement.
- */
-int move_is_valid(Move m) {
- return 1;
-}
-
nihil fit ex nihilo