Fixing header's dependencies.

This commit is contained in:
Murilo Soares Pereira 2010-04-04 21:54:22 -03:00
parent f01a7c236c
commit 3889a40850
7 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,5 @@
#include <ncurses.h>
#include <malloc.h>
#include "frame.h"
#include "card.h"
struct card *initialize_card() {

View File

@ -1,6 +1,8 @@
#ifndef CARD_H
#define CARD_H
#include "frame.h"
enum value {
NO_VALUE = -1,
TWO = 2,

View File

@ -2,8 +2,6 @@
#include <malloc.h>
#include <string.h>
#include <locale.h>
#include "frame.h"
#include "card.h"
#include "display.h"
void init_curses() {

View File

@ -1,4 +1,3 @@
#include <ncurses.h>
#include <malloc.h>
#include "frame.h"

View File

@ -1,6 +1,8 @@
#ifndef FRAME_H
#define FRAME_H
#include <ncurses.h>
#define FRAME_WIDTH 7
#define FRAME_HEIGHT 5

View File

@ -1,6 +1,5 @@
#include <malloc.h>
#include <stdbool.h>
#include "card.h"
#include "stack.h"
void initialize_stack(struct stack **stack) {

View File

@ -1,6 +1,8 @@
#ifndef STACK_H
#define STACK_H
#include "card.h"
struct stack {
struct card *card;
struct stack *next;