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