kdrive: small C cleanups we missed

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2025-08-28 22:47:40 +03:00
committed by Enrico Weigelt
parent 133bf69eb5
commit dcc29cce96
2 changed files with 2 additions and 6 deletions

View File

@@ -343,6 +343,8 @@ extern Bool kdEnabled;
extern Bool kdSwitchPending;
extern Bool kdEmulateMiddleButton;
extern Bool kdDisableZaphod;
extern Bool kdAllowZap;
extern int kdVirtualTerminal;
extern char *kdSwitchCmd;
/*
@@ -352,9 +354,6 @@ extern char *kdSwitchCmd;
*/
extern const KdOsFuncs *kdOsFuncs;
extern Bool kdAllowZap;
extern int kdVirtualTerminal;
#define KdGetScreenPriv(pScreen) ((KdPrivScreenPtr) \
dixLookupPrivate(&(pScreen)->devPrivates, kdScreenPrivateKey))
#define KdSetScreenPriv(pScreen,v) \
@@ -538,7 +537,6 @@ const KdMonitorTiming *KdFindMode(KdScreenInfo * screen,
const KdMonitorTiming *));
Bool
KdTuneMode(KdScreenInfo * screen,
Bool (*usable) (KdScreenInfo *),
Bool (*supported) (KdScreenInfo *, const KdMonitorTiming *));

View File

@@ -153,8 +153,6 @@ void KdAssertSigioBlocked(char *where)
#define KdAssertSigioBlocked(s)
#endif
static int kdnFds;
#endif
#ifdef FNONBLOCK