xfree86: drop obsolete xf86SetTVOut() and xf86SetRGBOut()

These are only defined on NetBSD and not used anywhere, and not
functional at all (just killing the Xserver). No need to carry
them around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-14 10:43:59 +01:00
committed by Enrico Weigelt
parent 9a54f4b908
commit c95748921a
2 changed files with 0 additions and 31 deletions

View File

@@ -268,30 +268,3 @@ xf86DisableIO(void)
}
#endif
#ifdef __NetBSD__
/***************************************************************************/
/* Set TV output mode */
/***************************************************************************/
void
xf86SetTVOut(int mode)
{
switch (xf86Info.consType) {
default:
FatalError("Xf86SetTVOut: Unsupported console");
break;
}
return;
}
void
xf86SetRGBOut(void)
{
switch (xf86Info.consType) {
default:
FatalError("Xf86SetTVOut: Unsupported console");
break;
}
return;
}
#endif

View File

@@ -101,10 +101,6 @@ _XFUNCPROTOBEGIN
extern _X_EXPORT Bool xf86EnableIO(void);
extern _X_EXPORT void xf86DisableIO(void);
#ifdef __NetBSD__
extern _X_EXPORT void xf86SetTVOut(int);
extern _X_EXPORT void xf86SetRGBOut(void);
#endif
extern _X_EXPORT void xf86SlowBcopy(unsigned char *, unsigned char *, int);
extern _X_EXPORT int xf86OpenSerial(XF86OptionPtr options);
extern _X_EXPORT int xf86SetSerial(int fd, XF86OptionPtr options);