mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 02:58:09 +08:00
termios: Make tty list static
This commit is contained in:
@@ -76,14 +76,15 @@ struct rtems_termios_linesw rtems_termios_linesw[MAXLDISC] =
|
||||
int rtems_termios_nlinesw =
|
||||
sizeof (rtems_termios_linesw) / sizeof (rtems_termios_linesw[0]);
|
||||
|
||||
extern struct rtems_termios_tty *rtems_termios_ttyHead;
|
||||
extern struct rtems_termios_tty *rtems_termios_ttyTail;
|
||||
extern rtems_id rtems_termios_ttyMutex;
|
||||
|
||||
static size_t rtems_termios_cbufsize = 256;
|
||||
static size_t rtems_termios_raw_input_size = 128;
|
||||
static size_t rtems_termios_raw_output_size = 64;
|
||||
|
||||
static struct rtems_termios_tty *rtems_termios_ttyHead;
|
||||
static struct rtems_termios_tty *rtems_termios_ttyTail;
|
||||
|
||||
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument);
|
||||
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument);
|
||||
/*
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
struct rtems_termios_tty *rtems_termios_ttyHead;
|
||||
struct rtems_termios_tty *rtems_termios_ttyTail;
|
||||
rtems_id rtems_termios_ttyMutex;
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user