summaryrefslogtreecommitdiff
path: root/hw/xquartz/applewm.c
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 /hw/xquartz/applewm.c
parent6bcde69585fcc8f8dbfe81c115649f19274922fa (diff)
Remove all empty extension reset hooks, replace with NULL.
Diffstat (limited to 'hw/xquartz/applewm.c')
-rw-r--r--hw/xquartz/applewm.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c
index ba86f1045..c5ca8e267 100644
--- a/hw/xquartz/applewm.c
+++ b/hw/xquartz/applewm.c
@@ -74,8 +74,6 @@ static int WMErrorBase;
static DISPATCH_PROC(ProcAppleWMDispatch);
static DISPATCH_PROC(SProcAppleWMDispatch);
-static void AppleWMResetProc(ExtensionEntry* extEntry);
-
static unsigned char WMReqCode = 0;
static int WMEventBase = 0;
@@ -124,7 +122,7 @@ AppleWMExtensionInit(
AppleWMNumberErrors,
ProcAppleWMDispatch,
SProcAppleWMDispatch,
- AppleWMResetProc,
+ NULL,
StandardMinorOpcode)))
{
WMReqCode = (unsigned char)extEntry->base;
@@ -135,14 +133,6 @@ AppleWMExtensionInit(
}
}
-/*ARGSUSED*/
-static void
-AppleWMResetProc (
- ExtensionEntry* extEntry
-)
-{
-}
-
/* Updates the _NATIVE_SCREEN_ORIGIN property on the given root window. */
void
AppleWMSetScreenOrigin(