Remove INITARGS braindamage, change to void; add XkbExtensionInit prototype
to xkb.h. Explicitly initialise nTypes in xkb.c.
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
* xkb/xkbInit.c:
|
||||
Remove weirdo XkbCF pre-configuration code.
|
||||
|
||||
* xkb/xkb.h:
|
||||
* xkb/xkb.c:
|
||||
Remove INITARGS braindamage, change to void; add XkbExtensionInit
|
||||
prototype to xkb.h.
|
||||
Explicitly initialise nTypes in xkb.c.
|
||||
|
||||
2006-03-25 Adam Jackson <ajax@freedesktop.org>
|
||||
|
||||
* hw/xfree86/common/xf86Bus.c:
|
||||
|
||||
@@ -2284,7 +2284,7 @@ ProcXkbSetMap(ClientPtr client)
|
||||
XkbDescPtr xkb;
|
||||
XkbChangesRec change;
|
||||
XkbEventCauseRec cause;
|
||||
int nTypes,nActions,error;
|
||||
int nTypes = 0,nActions,error;
|
||||
char * tmp;
|
||||
CARD8 mapWidths[XkbMaxLegalKeyCode+1];
|
||||
CARD16 symsPerKey[XkbMaxLegalKeyCode+1];
|
||||
@@ -6214,7 +6214,7 @@ XkbResetProc(ExtensionEntry *extEntry)
|
||||
}
|
||||
|
||||
void
|
||||
XkbExtensionInit(INITARGS)
|
||||
XkbExtensionInit(void)
|
||||
{
|
||||
ExtensionEntry *extEntry;
|
||||
|
||||
|
||||
@@ -32,6 +32,8 @@ extern int ProcXkbSetDebuggingFlags(ClientPtr client);
|
||||
extern int XkbSetRepeatRate(DeviceIntPtr dev, int timeout, int interval, int major, int minor);
|
||||
extern int XkbGetRepeatRate(DeviceIntPtr dev, int *timeout, int *interval);
|
||||
|
||||
extern void XkbExtensionInit(void);
|
||||
|
||||
extern Status XkbComputeGetIndicatorMapReplySize(
|
||||
XkbIndicatorPtr indicators,
|
||||
xkbGetIndicatorMapReply *rep);
|
||||
|
||||
Reference in New Issue
Block a user