mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 21:08:13 +02:00
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>
(cherry picked from commit 758bee502d)
This commit is contained in:
parent
394a8cae62
commit
838d675fd8
2 changed files with 8 additions and 6 deletions
|
|
@ -41,6 +41,14 @@
|
|||
#include <stdlib.h>
|
||||
#include <errno.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
|
||||
|
|
|
|||
|
|
@ -203,12 +203,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_BELL
|
||||
#define CONSOLE_X_BELL _IOW('t',123,int[2])
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue