z80pack: make tty buffers static
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:14:17 +0000 (21:14 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:14:17 +0000 (21:14 +0000)
Kernel/dev/z80pack/devtty.c

index 74c0de8..5744431 100644 (file)
@@ -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    },