mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 06:04:49 +00:00
(submit/bsd-defines v2) 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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user