cromemco: make the tty buffers static
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 20:55:18 +0000 (20:55 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 20:55:18 +0000 (20:55 +0000)
Kernel/platform-cromemco/devtty.c

index f803ee8..5ee1567 100644 (file)
@@ -6,9 +6,9 @@
 #include <devtty.h>
 #include <irq.h>
 
-char tbuf1[TTYSIZ];
-char tbuf2[TTYSIZ];
-char tbuf3[TTYSIZ];
+static char tbuf1[TTYSIZ];
+static char tbuf2[TTYSIZ];
+static char tbuf3[TTYSIZ];
 
 struct  s_queue  ttyinq[NUM_DEV_TTY+1] = {       /* ttyinq[0] is never used */
     {   NULL,    NULL,    NULL,    0,        0,       0    },