(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:
parent
491ba2669a
commit
c17f250d70
|
@ -45,6 +45,14 @@
|
||||||
|
|
||||||
#include "os/osdep.h"
|
#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;
|
static Bool KeepTty = FALSE;
|
||||||
|
|
||||||
#ifdef PCCONS_SUPPORT
|
#ifdef PCCONS_SUPPORT
|
||||||
|
|
|
@ -197,12 +197,6 @@ struct pcvtid {
|
||||||
#include <sys/mouse.h>
|
#include <sys/mouse.h>
|
||||||
#endif
|
#endif
|
||||||
/* Include these definitions in case ioctl_pc.h didn't get included */
|
/* 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
|
#ifndef CONSOLE_X_TV_ON
|
||||||
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue