xfree86: parser: drop obsolete token enum values

These have been forgotten on some major cleanup back almost two decades ago.
(Daniel dropped a lot of dead code, which already had been removed earlier
but merged back accidentially).

Didn't look further back on where exactly they had become obsolete - being
unused for decades should be enough justification for dropping.

Fixes: 81913a1291
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1405>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-13 20:12:29 +01:00 committed by Marge Bot
parent fb696a7d7b
commit a1fa019012

View File

@ -91,11 +91,6 @@ typedef enum {
OPTION,
COMMENT,
/* Frequency units */
HRZ,
KHZ,
MHZ,
/* File tokens */
FONTPATH,
MODULEPATH,
@ -126,9 +121,6 @@ typedef enum {
GAMMA,
USEMODES,
/* Modes tokens */
/* no new ones */
/* Mode tokens */
DOTCLOCK,
HTIMINGS,
@ -189,37 +181,6 @@ typedef enum {
BUSID,
IRQ,
/* Keyboard tokens */
AUTOREPEAT,
XLEDS,
KPROTOCOL,
XKBKEYMAP,
XKBCOMPAT,
XKBTYPES,
XKBKEYCODES,
XKBGEOMETRY,
XKBSYMBOLS,
XKBDISABLE,
PANIX106,
XKBRULES,
XKBMODEL,
XKBLAYOUT,
XKBVARIANT,
XKBOPTIONS,
/* Obsolete keyboard tokens */
SERVERNUM,
LEFTALT,
RIGHTALT,
SCROLLLOCK_TOK,
RIGHTCTL,
/* arguments for the above obsolete tokens */
CONF_KM_META,
CONF_KM_COMPOSE,
CONF_KM_MODESHIFT,
CONF_KM_MODELOCK,
CONF_KM_SCROLLLOCK,
CONF_KM_CONTROL,
/* Pointer tokens */
EMULATE3,
BAUDRATE,