Shuffle prototypes to correct header, or add them there
[xboard.git] / usystem.c
index a24d04f..d2571df 100644 (file)
--- 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 <sys/ioctl.h>
-int
+static int
 get_term_width ()
 {
     int fd, default_width;