kdrive: export some symbols

There are some forward declarations with no definitions in kdrive.h
This doesn't cause a problem right now and makes it easier
to break up the large Xfbdev pr.

In preparation for adding the Xfbdev X11 kdrive server

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2025-07-06 01:08:10 +03:00
committed by Enrico Weigelt
parent 82e922a346
commit 033cd4b2fe
2 changed files with 14 additions and 4 deletions

View File

@@ -79,13 +79,18 @@ KdDepths kdDepths[] = {
DevPrivateKeyRec kdScreenPrivateKeyRec;
x_server_generation_t kdGeneration;
Bool kdVideoTest;
unsigned long kdVideoTestTime;
Bool kdEmulateMiddleButton;
Bool kdRawPointerCoordinates;
Bool kdDisableZaphod;
Bool kdAllowZap;
Bool kdEnabled;
static int kdSubpixelOrder;
int kdSubpixelOrder;
int kdVirtualTerminal = -1;
Bool kdSwitchPending;
char *kdSwitchCmd;
static DDXPointRec kdOrigin;
DDXPointRec kdOrigin;
Bool kdHasPointer = FALSE;
Bool kdHasKbd = FALSE;
const char *kdGlobalXkbRules = NULL;
@@ -94,6 +99,7 @@ const char *kdGlobalXkbLayout = NULL;
const char *kdGlobalXkbVariant = NULL;
const char *kdGlobalXkbOptions = NULL;
static Bool kdCaughtSignal = FALSE;
/*
* Carry arguments from InitOutput through driver initialization
@@ -183,8 +189,8 @@ ddxGiveUp(enum ExitCode error)
KdDisableScreens();
}
static Bool kdDumbDriver;
static Bool kdSoftCursor;
Bool kdDumbDriver;
Bool kdSoftCursor;
const char *
KdParseFindNext(const char *cur, const char *delim, char *save, char *last)

View File

@@ -338,6 +338,7 @@ extern DevPrivateKeyRec kdScreenPrivateKeyRec;
extern x_server_generation_t kdGeneration;
extern Bool kdEnabled;
extern Bool kdSwitchPending;
extern Bool kdEmulateMiddleButton;
extern Bool kdDisableZaphod;
extern char *kdSwitchCmd;
@@ -349,6 +350,9 @@ 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) \