xfree86: os-support: move CONSOLE_X_MODE_ON/OFF to bsd_init.c
These are only used in bsd_init.c, so move them there. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1420>
This commit is contained in:
parent
8958a99c02
commit
758bee502d
|
@ -45,6 +45,14 @@
|
|||
|
||||
#include "os/osdep.h"
|
||||
|
||||
#ifndef CONSOLE_X_MODE_ON
|
||||
#define CONSOLE_X_MODE_ON _IO('t',121)
|
||||
#endif
|
||||
|
||||
#ifndef CONSOLE_X_MODE_OFF
|
||||
#define CONSOLE_X_MODE_OFF _IO('t',122)
|
||||
#endif
|
||||
|
||||
static Bool KeepTty = FALSE;
|
||||
|
||||
#ifdef PCCONS_SUPPORT
|
||||
|
|
|
@ -197,12 +197,6 @@ struct pcvtid {
|
|||
#include <sys/mouse.h>
|
||||
#endif
|
||||
/* Include these definitions in case ioctl_pc.h didn't get included */
|
||||
#ifndef CONSOLE_X_MODE_ON
|
||||
#define CONSOLE_X_MODE_ON _IO('t',121)
|
||||
#endif
|
||||
#ifndef CONSOLE_X_MODE_OFF
|
||||
#define CONSOLE_X_MODE_OFF _IO('t',122)
|
||||
#endif
|
||||
#ifndef CONSOLE_X_TV_ON
|
||||
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue