zx series: static tty buffers
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:22:36 +0000 (21:22 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:22:36 +0000 (21:22 +0000)
Kernel/platform-tc2068/devtty.c
Kernel/platform-zx+3/devtty.c
Kernel/platform-zx128/devtty.c
Kernel/platform-zxdiv/devtty.c

index 5e7dc53..0a566c4 100644 (file)
@@ -10,7 +10,7 @@
 #include <input.h>
 #include <devinput.h>
 
-char tbuf1[TTYSIZ];
+static char tbuf1[TTYSIZ];
 
 uint8_t vtattr_cap = VTA_INVERSE|VTA_FLASH|VTA_UNDERLINE;
 extern uint8_t curattr;
index 5e7dc53..0a566c4 100644 (file)
@@ -10,7 +10,7 @@
 #include <input.h>
 #include <devinput.h>
 
-char tbuf1[TTYSIZ];
+static char tbuf1[TTYSIZ];
 
 uint8_t vtattr_cap = VTA_INVERSE|VTA_FLASH|VTA_UNDERLINE;
 extern uint8_t curattr;
index bb9e887..13e49c0 100644 (file)
@@ -7,7 +7,7 @@
 #include <vt.h>
 #include <tty.h>
 
-char tbuf1[TTYSIZ];
+static char tbuf1[TTYSIZ];
 
 uint8_t vtattr_cap;
 struct vt_repeat keyrepeat;
index e3bfabb..61003df 100644 (file)
@@ -10,7 +10,7 @@
 #include <input.h>
 #include <devinput.h>
 
-char tbuf1[TTYSIZ];
+static char tbuf1[TTYSIZ];
 
 uint8_t vtattr_cap = VTA_INVERSE|VTA_FLASH|VTA_UNDERLINE;
 uint8_t vtborder;