coco2: static tty buffers
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:20:40 +0000 (21:20 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:20:40 +0000 (21:20 +0000)
Kernel/platform-coco2/devtty.c
Kernel/platform-coco2cart/devtty.c

index 016546d..dccfa00 100644 (file)
@@ -16,8 +16,8 @@ uint8_t *uart_status = (uint8_t *)0xFF05;     /* ACIA status */
 uint8_t *uart_command = (uint8_t *)0xFF06;     /* ACIA command */
 uint8_t *uart_control = (uint8_t *)0xFF07;     /* ACIA control */
 
-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 a1e7160..466df67 100644 (file)
@@ -18,8 +18,8 @@ uint8_t *uart_control = (uint8_t *)0xFF07;    /* ACIA control */
 
 #define ACIA_TTY 2
 
-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},