From: Alan Cox Date: Sat, 19 Jan 2019 21:23:13 +0000 (+0000) Subject: v68: static tty buffers X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=25b89d1911306b618f3e18b669adafd703256971;p=FUZIX.git v68: static tty buffers --- diff --git a/Kernel/platform-v68-banked/devtty.c b/Kernel/platform-v68-banked/devtty.c index b906411f..7a70bdd1 100644 --- a/Kernel/platform-v68-banked/devtty.c +++ b/Kernel/platform-v68-banked/devtty.c @@ -9,7 +9,7 @@ volatile uint8_t *uart_data = (volatile uint8_t *)0xF03000; /* UART data */ volatile uint8_t *uart_status = (volatile uint8_t *)0xF03010; /* UART status */ -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}, diff --git a/Kernel/platform-v68-softmmu/devtty.c b/Kernel/platform-v68-softmmu/devtty.c index b906411f..7a70bdd1 100644 --- a/Kernel/platform-v68-softmmu/devtty.c +++ b/Kernel/platform-v68-softmmu/devtty.c @@ -9,7 +9,7 @@ volatile uint8_t *uart_data = (volatile uint8_t *)0xF03000; /* UART data */ volatile uint8_t *uart_status = (volatile uint8_t *)0xF03010; /* UART status */ -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},