From a7020e3a3f27ae81fa7bb66c1814b210b938ce09 Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Wed, 31 Mar 2010 17:39:28 -0300 Subject: [PATCH] Added common.h. --- src/common.h | 7 +++++++ src/tty-solitaire.c | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 src/common.h diff --git a/src/common.h b/src/common.h new file mode 100644 index 0000000..b641277 --- /dev/null +++ b/src/common.h @@ -0,0 +1,7 @@ +#ifndef COMMON_H +#define COMMON_H + +#define FALSE 0 +#define TRUE 1 + +#endif diff --git a/src/tty-solitaire.c b/src/tty-solitaire.c index 8bb701f..6cf0e4a 100644 --- a/src/tty-solitaire.c +++ b/src/tty-solitaire.c @@ -1,9 +1,7 @@ #include #include #include - -#define FALSE 0 -#define TRUE 1 +#include "common.h" #define CARD_FRAME_WIDTH 7 #define CARD_FRAME_HEIGHT 5