X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fcommondsp.c;h=af9df16ef7b98eb8e3df1c6ebd7ae44379bd759a;hb=0a65b44bcb552f60a679822b665be693f78aa73d;hp=73afb957d5e85f1c1f718584d6d7ccd2fa336382;hpb=8ae7e7d1b257ef36d8a9fd1cd88807954ef10764;p=gnushogi.git diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 73afb95..af9df16 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -31,17 +31,10 @@ * */ -#include "gnushogi.h" - #if defined HAVE_GETTIMEOFDAY #include #endif -char mvstr[4][6]; -char *InPtr; -int InBackground = false; - - #include #include @@ -50,6 +43,11 @@ int InBackground = false; #include #include +#include "gnushogi.h" + +char mvstr[4][6]; +char *InPtr; +int InBackground = false; #if defined(BOOKTEST) @@ -1737,7 +1735,7 @@ InputCommand(char *command) s[0] = sx[0] = '\0'; while(!sx[0]) - (void)fgets(sx, 256, stdin); + (void)fgets(sx, 80, stdin); } else {