From d9691c8af0ee7b2ac334a88c7b71544ed4d36ccf Mon Sep 17 00:00:00 2001 From: me Date: Thu, 24 Nov 2022 02:54:21 +0330 Subject: [PATCH] use common.h --- memoblocks.c | 3 ++- mines.c | 2 +- rabbithole.c | 2 +- reversi.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/memoblocks.c b/memoblocks.c index e1a119f..5c37001 100644 --- a/memoblocks.c +++ b/memoblocks.c @@ -10,7 +10,8 @@ To the extent possible under law, the author(s) have dedicated all copyright and You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see . */ -#include "config.h" +#include "common.h" + typedef unsigned char ubyte; #define size 8 diff --git a/mines.c b/mines.c index 700fba1..f5c1bb4 100644 --- a/mines.c +++ b/mines.c @@ -10,7 +10,7 @@ You should have received a copy of the CC0 Public Domain Dedication along with t compile with -lncurses */ -#include "config.h" +#include "common.h" #define FLAG 9 #define UNCLEAR 10 #define MINLEN 8 diff --git a/rabbithole.c b/rabbithole.c index 63bf39d..2a4c635 100644 --- a/rabbithole.c +++ b/rabbithole.c @@ -12,7 +12,7 @@ You should have received a copy of the CC0 Public Domain Dedication along with t compile with -lncurses */ -#include "config.h" +#include "common.h" #define UP 1 #define RIGHT 2 #define DOWN 4 diff --git a/reversi.c b/reversi.c index ce3d66b..6389cff 100644 --- a/reversi.c +++ b/reversi.c @@ -11,7 +11,7 @@ You should have received a copy of the CC0 Public Domain Dedication along with t */ -#include "config.h" +#include "common.h" byte py,px;//cursor const char piece[2] = {'O','X'}; char game[8][8];//main board