From a5766da61ba8d13183165477e83469486eb18192 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 19 Jan 2019 21:20:40 +0000 Subject: [PATCH] coco2: static tty buffers --- Kernel/platform-coco2/devtty.c | 4 ++-- Kernel/platform-coco2cart/devtty.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Kernel/platform-coco2/devtty.c b/Kernel/platform-coco2/devtty.c index 016546df..dccfa002 100644 --- a/Kernel/platform-coco2/devtty.c +++ b/Kernel/platform-coco2/devtty.c @@ -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}, diff --git a/Kernel/platform-coco2cart/devtty.c b/Kernel/platform-coco2cart/devtty.c index a1e71605..466df67e 100644 --- a/Kernel/platform-coco2cart/devtty.c +++ b/Kernel/platform-coco2cart/devtty.c @@ -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}, -- 2.34.1