From: Yann Dirson Date: Mon, 20 Jan 2014 21:12:01 +0000 (+0100) Subject: Remove more duplicate variable declarations. X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=b1b9616a3147b835beaabfaaa8f2de0db6d12ee9 Remove more duplicate variable declarations. --- 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 ****************************************/