From 1483833619ce4674d79fcd4e0cc5b50ebc2cd6c7 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 19 Jan 2019 21:18:49 +0000 Subject: [PATCH] stale code: keep tty changes more in sync --- Kernel/platform-dragon/devtty.c | 4 ++-- Kernel/platform-ibmpc/devtty.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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}, -- 2.34.1