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

index 5f4a57b..f62e5d7 100644 (file)
  *  - implement RTS/CTS for ASCI (waiting on my making up a cable ...)
  */
 
-char tbuf1[TTYSIZ];
-char tbuf2[TTYSIZ];
-char tbuf3[TTYSIZ];
-char tbuf4[TTYSIZ];
-char tbuf5[TTYSIZ];
+static char tbuf1[TTYSIZ];
+static char tbuf2[TTYSIZ];
+static char tbuf3[TTYSIZ];
+static char tbuf4[TTYSIZ];
+static char tbuf5[TTYSIZ];
 
 struct  s_queue  ttyinq[NUM_DEV_TTY+1] = {       /* ttyinq[0] is never used */
     {   NULL,    NULL,    NULL,    0,        0,       0    },