public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba4f0c
)
z80pack: make tty buffers static
author
Alan Cox
<alan@linux.intel.com>
Sat, 19 Jan 2019 21:14:17 +0000
(21:14 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 19 Jan 2019 21:14:17 +0000
(21:14 +0000)
Kernel/dev/z80pack/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/z80pack/devtty.c
b/Kernel/dev/z80pack/devtty.c
index
74c0de8
..
5744431
100644
(file)
--- a/
Kernel/dev/z80pack/devtty.c
+++ b/
Kernel/dev/z80pack/devtty.c
@@
-14,10
+14,10
@@
__sfr __at 43 tty3data;
__sfr __at 50 tty4stat;
__sfr __at 51 tty4data;
-char tbuf1[TTYSIZ];
-char tbuf2[TTYSIZ];
-char tbuf3[TTYSIZ];
-char tbuf4[TTYSIZ];
+
static
char tbuf1[TTYSIZ];
+
static
char tbuf2[TTYSIZ];
+
static
char tbuf3[TTYSIZ];
+
static
char tbuf4[TTYSIZ];
struct s_queue ttyinq[NUM_DEV_TTY+1] = { /* ttyinq[0] is never used */
{ NULL, NULL, NULL, 0, 0, 0 },