mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
kdrive: small C cleanups we missed
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
133bf69eb5
commit
dcc29cce96
@@ -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 *));
|
||||
|
||||
@@ -153,8 +153,6 @@ void KdAssertSigioBlocked(char *where)
|
||||
#define KdAssertSigioBlocked(s)
|
||||
|
||||
#endif
|
||||
|
||||
static int kdnFds;
|
||||
#endif
|
||||
|
||||
#ifdef FNONBLOCK
|
||||
|
||||
Reference in New Issue
Block a user