stale code: keep tty changes more in sync
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:18:49 +0000 (21:18 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:18:49 +0000 (21:18 +0000)
Kernel/platform-dragon/devtty.c
Kernel/platform-ibmpc/devtty.c

index 95da5d4..1820562 100644 (file)
@@ -16,8 +16,8 @@ uint8_t *uart_control = (uint8_t *)0xFF07;    /* ACIA control */
 
 uint8_t vtattr_cap = 0;                        /* we could do inverse ? */
 
-unsigned char tbuf1[TTYSIZ];
-unsigned char tbuf2[TTYSIZ];
+static unsigned char tbuf1[TTYSIZ];
+static unsigned char tbuf2[TTYSIZ];
 
 struct s_queue ttyinq[NUM_DEV_TTY + 1] = {     /* ttyinq[0] is never used */
        {NULL, NULL, NULL, 0, 0, 0},
index b140c02..d5efaac 100644 (file)
@@ -13,7 +13,7 @@
 #include <tty.h>
 #include <vt.h>
 
-unsigned char tbuf1[TTYSIZ];
+static unsigned char tbuf1[TTYSIZ];
 
 struct s_queue ttyinq[NUM_DEV_TTY + 1] = {     /* ttyinq[0] is never used */
        {NULL, NULL, NULL, 0, 0, 0},