(submit/bsd-defines v2) xfree86: os-support: move CONSOLE_X_TV_ON/OFF to i386_video.c
These are only used in i386_video.c, so move them there. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
c17f250d70
commit
af72e10c8b
|
@ -42,6 +42,14 @@
|
|||
#define MAP_FLAGS (MAP_FILE | MAP_SHARED)
|
||||
#endif
|
||||
|
||||
#ifndef CONSOLE_X_TV_ON
|
||||
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
||||
#endif
|
||||
|
||||
#ifndef CONSOLE_X_TV_OFF
|
||||
#define CONSOLE_X_TV_OFF _IO('t',156)
|
||||
#endif
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
#define SYSCTL_MSG "\tCheck that you have set 'machdep.allowaperture=1'\n"\
|
||||
"\tin /etc/sysctl.conf and reboot your machine\n" \
|
||||
|
|
|
@ -195,13 +195,6 @@ struct pcvtid {
|
|||
#endif /* WSCONS_SUPPORT */
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
|
||||
#include <sys/mouse.h>
|
||||
#endif
|
||||
/* Include these definitions in case ioctl_pc.h didn't get included */
|
||||
#ifndef CONSOLE_X_TV_ON
|
||||
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
||||
#endif
|
||||
#ifndef CONSOLE_X_TV_OFF
|
||||
#define CONSOLE_X_TV_OFF _IO('t',156)
|
||||
#endif
|
||||
|
||||
#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL)
|
||||
|
|
Loading…
Reference in New Issue