X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=usystem.c;h=d2571dff84bea9672e4541e232ccb099a6a52185;hb=6dd281ab844f7b6eb459bd67132bfbf1bee60c97;hp=a24d04ff049865493176cb08232c5ba65daee2bc;hpb=14bd89bc510fb6ff864b235fbac39044079f131f;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;