Move PTY private defines into PTY private files.
This commit is contained in:
parent
2ad1b2602b
commit
5989134159
@ -119,6 +119,10 @@ struct pt_ioctl {
|
||||
#define PF_NOSTOP 0x40
|
||||
#define PF_UCNTL 0x80 /* user control mode */
|
||||
|
||||
#define TSA_PTC_READ(tp) ((void *)&(tp)->t_outq.c_cf)
|
||||
#define TSA_PTC_WRITE(tp) ((void *)&(tp)->t_rawq.c_cl)
|
||||
#define TSA_PTS_READ(tp) ((void *)&(tp)->t_canq)
|
||||
|
||||
static char *names = "pqrsPQRS";
|
||||
/*
|
||||
* This function creates and initializes a pts/ptc pair
|
||||
|
@ -253,9 +253,6 @@ struct speedtab {
|
||||
#define TSA_HUP_OR_INPUT(tp) ((void *)&(tp)->t_rawq.c_cf)
|
||||
#define TSA_OCOMPLETE(tp) ((void *)&(tp)->t_outq.c_cl)
|
||||
#define TSA_OLOWAT(tp) ((void *)&(tp)->t_outq)
|
||||
#define TSA_PTC_READ(tp) ((void *)&(tp)->t_outq.c_cf)
|
||||
#define TSA_PTC_WRITE(tp) ((void *)&(tp)->t_rawq.c_cl)
|
||||
#define TSA_PTS_READ(tp) ((void *)&(tp)->t_canq)
|
||||
|
||||
#ifdef _KERNEL
|
||||
#ifdef MALLOC_DECLARE
|
||||
|
Loading…
Reference in New Issue
Block a user