From b1b9616a3147b835beaabfaaa8f2de0db6d12ee9 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Mon, 20 Jan 2014 22:12:01 +0100 Subject: [PATCH] Remove more duplicate variable declarations. --- gnushogi/commondsp.c | 1 + gnushogi/cursesdsp.c | 4 ---- gnushogi/rawdsp.c | 4 ---- 3 files changed, 1 insertions(+), 8 deletions(-) diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 86217bb..603143c 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -51,6 +51,7 @@ char mvstr[4][6]; char *InPtr; +int mycnt1, mycnt2; struct display *dsp = &raw_display; diff --git a/gnushogi/cursesdsp.c b/gnushogi/cursesdsp.c index 8dd1cd4..5d33790 100644 --- a/gnushogi/cursesdsp.c +++ b/gnushogi/cursesdsp.c @@ -62,15 +62,11 @@ #define FLUSH_SCANW fflush(stdout), scanw -int mycnt1, mycnt2; - #define TAB (58) #define VIR_C(s) ((flag.reverse) ? (NO_COLS - 1 - column(s)) : column(s)) #define VIR_R(s) ((flag.reverse) ? (NO_ROWS - 1 - row(s)) : row(s)) -char *DRAW; - /**************************************** * forward declarations ****************************************/ diff --git a/gnushogi/rawdsp.c b/gnushogi/rawdsp.c index 1658803..ba700db 100644 --- a/gnushogi/rawdsp.c +++ b/gnushogi/rawdsp.c @@ -44,10 +44,6 @@ #include "gnushogi.h" -int mycnt1, mycnt2; -char *DRAW; -extern short pscore[]; - /**************************************** * forward declarations ****************************************/ -- 1.7.0.4