From: Alan Cox Date: Sat, 19 Jan 2019 21:18:49 +0000 (+0000) Subject: stale code: keep tty changes more in sync X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=1483833619ce4674d79fcd4e0cc5b50ebc2cd6c7;p=FUZIX.git stale code: keep tty changes more in sync --- diff --git a/Kernel/platform-dragon/devtty.c b/Kernel/platform-dragon/devtty.c index 95da5d42..1820562c 100644 --- a/Kernel/platform-dragon/devtty.c +++ b/Kernel/platform-dragon/devtty.c @@ -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}, diff --git a/Kernel/platform-ibmpc/devtty.c b/Kernel/platform-ibmpc/devtty.c index b140c021..d5efaac8 100644 --- a/Kernel/platform-ibmpc/devtty.c +++ b/Kernel/platform-ibmpc/devtty.c @@ -13,7 +13,7 @@ #include #include -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},