summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-07-24 14:59:14 -0400
committerAdam Jackson <ajax@redhat.com>2008-07-24 15:46:08 -0400
commit9757106bba8f7bea99c5211817fc6b5fde4e6f66 (patch)
tree374f4c156facb756b943368eea8f9b40d2aa47d7 /xkb
parent6bcde69585fcc8f8dbfe81c115649f19274922fa (diff)
Remove all empty extension reset hooks, replace with NULL.
Diffstat (limited to 'xkb')
-rw-r--r--xkb/xkb.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/xkb/xkb.c b/xkb/xkb.c
index 9b3d78e0d..696586a13 100644
--- a/xkb/xkb.c
+++ b/xkb/xkb.c
@@ -6199,12 +6199,6 @@ XkbClientGone(pointer data,XID id)
return 1;
}
-/*ARGSUSED*/
-static void
-XkbResetProc(ExtensionEntry *extEntry)
-{
-}
-
void
XkbExtensionInit(void)
{
@@ -6212,7 +6206,7 @@ XkbExtensionInit(void)
if ((extEntry = AddExtension(XkbName, XkbNumberEvents, XkbNumberErrors,
ProcXkbDispatch, SProcXkbDispatch,
- XkbResetProc, StandardMinorOpcode))) {
+ NULL, StandardMinorOpcode))) {
XkbReqCode = (unsigned char)extEntry->base;
XkbEventBase = (unsigned char)extEntry->eventBase;
XkbErrorBase = (unsigned char)extEntry->errorBase;