msx: static tty buffers
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:21:03 +0000 (21:21 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:21:03 +0000 (21:21 +0000)
Kernel/platform-msx1/devtty.c
Kernel/platform-msx2/devtty.c

index 9e7ffd0..d1c302a 100644 (file)
@@ -20,8 +20,8 @@ uint8_t keymap[11];
 struct vt_repeat keyrepeat;
 uint8_t vtattr_cap;
 
-char tbuf1[TTYSIZ];
-char tbuf2[TTYSIZ];
+static char tbuf1[TTYSIZ];
+static char tbuf2[TTYSIZ];
 
 struct s_queue ttyinq[NUM_DEV_TTY + 1] = {     /* ttyinq[0] is never used */
        {NULL, NULL, NULL, 0, 0, 0},
index cea1765..dd2b218 100644 (file)
@@ -16,11 +16,11 @@ __sfr __at 0x2F tty_debug;
 __sfr __at 0xAA kbd_row_set;
 __sfr __at 0xA9 kbd_row_read;
 
-char tbuf1[TTYSIZ];
-char tbuf2[TTYSIZ];
-char tbuf3[TTYSIZ];
-char tbuf4[TTYSIZ];
-char tbuf5[TTYSIZ];
+static char tbuf1[TTYSIZ];
+static char tbuf2[TTYSIZ];
+static char tbuf3[TTYSIZ];
+static char tbuf4[TTYSIZ];
+static char tbuf5[TTYSIZ];
 
 uint8_t curtty;
 uint8_t inputtty;