diff --git a/lib/keyboard.c b/lib/keyboard.c index 12a6249..e12820b 100644 --- a/lib/keyboard.c +++ b/lib/keyboard.c @@ -1,10 +1,8 @@ +#include "card.h" +#include "stack.h" #include "display.h" #include "keyboard.h" -void mark_origin(struct cursor *cursor) { - return; -} - struct stack *cursor_stack(struct cursor *cursor) { struct stack *cursor_stack = NULL; @@ -60,7 +58,6 @@ void handle_card_movement(struct cursor *cursor) { struct stack *destination = NULL; int option; - mark_origin(cursor); origin = cursor_stack(cursor); /* trying to move cards from the space between the waste pile and the diff --git a/lib/keyboard.h b/lib/keyboard.h index 8cd2083..96125d3 100644 --- a/lib/keyboard.h +++ b/lib/keyboard.h @@ -9,7 +9,6 @@ extern struct deck *deck; extern struct cursor *cursor; -void mark_origin(struct cursor *); struct stack *cursor_stack(struct cursor *); bool cursor_on_stack(struct cursor *, struct stack *); bool cursor_on_invalid_spot(struct cursor *);