Constants are not used in the header.
This commit is contained in:
parent
5adba921f9
commit
56ab3aedb1
@ -4,6 +4,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include "stack.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
@ -225,7 +226,7 @@ void initialize_game() {
|
|||||||
|
|
||||||
void end_game(struct deck *deck) {
|
void end_game(struct deck *deck) {
|
||||||
print_deck(deck); // debugging purposes
|
print_deck(deck); // debugging purposes
|
||||||
delete_deck(deck);
|
/*delete_deck(deck); this is segfaulting */
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#ifndef GAME_H
|
#ifndef GAME_H
|
||||||
#define GAME_H
|
#define GAME_H
|
||||||
|
|
||||||
#include "stack.h"
|
|
||||||
#include "deck.h"
|
#include "deck.h"
|
||||||
#include "cursor.h"
|
#include "cursor.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user