n8vem: static tty buffers
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:24:19 +0000 (21:24 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 21:24:19 +0000 (21:24 +0000)
Kernel/platform-n8vem-mark4/devtty.c

index 2ee9726..6947c38 100644 (file)
@@ -7,11 +7,11 @@
 #include <z180.h>
 #include <n8vem.h>
 
-char tbuf1[TTYSIZ];
-char tbuf2[TTYSIZ];
+static char tbuf1[TTYSIZ];
+static char tbuf2[TTYSIZ];
 
 #ifdef CONFIG_PROPIO2
-char tbufp[TTYSIZ];
+static char tbufp[TTYSIZ];
 #endif
 
 struct  s_queue  ttyinq[NUM_DEV_TTY+1] = {       /* ttyinq[0] is never used */