X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=usystem.c;h=d2571dff84bea9672e4541e232ccb099a6a52185;hb=ebbd3101235b8a04c34b30eb9a037bb6bae71123;hp=a24d04ff049865493176cb08232c5ba65daee2bc;hpb=02c925e3932929a5eb4e9a2d6d025f383670ebf6;p=xboard.git diff --git a/usystem.c b/usystem.c index a24d04f..d2571df 100644 --- a/usystem.c +++ b/usystem.c @@ -170,6 +170,8 @@ extern char *getenv(); # define N_(s) s #endif +static int get_term_width P(()); + static char *cnames[9] = { "black", "red", "green", "yellow", "blue", "magenta", "cyan", "white" }; TextColors textColors[(int)NColorClasses]; @@ -751,7 +753,7 @@ ResetFrontEnd () } #include -int +static int get_term_width () { int fd, default_width;