summaryrefslogtreecommitdiff
path: root/Xext/shape.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 /Xext/shape.c
parent6bcde69585fcc8f8dbfe81c115649f19274922fa (diff)
Remove all empty extension reset hooks, replace with NULL.
Diffstat (limited to 'Xext/shape.c')
-rw-r--r--Xext/shape.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/Xext/shape.c b/Xext/shape.c
index 6857c2865..aaef0cb14 100644
--- a/Xext/shape.c
+++ b/Xext/shape.c
@@ -61,9 +61,6 @@ static int ShapeFreeEvents(
pointer /* data */,
XID /* id */
);
-static void ShapeResetProc(
- ExtensionEntry * /* extEntry */
- );
static void SShapeNotifyEvent(
xShapeNotifyEvent * /* from */,
xShapeNotifyEvent * /* to */
@@ -149,20 +146,13 @@ ShapeExtensionInit(void)
if (ClientType && EventType &&
(extEntry = AddExtension(SHAPENAME, ShapeNumberEvents, 0,
ProcShapeDispatch, SProcShapeDispatch,
- ShapeResetProc, StandardMinorOpcode)))
+ NULL, StandardMinorOpcode)))
{
ShapeEventBase = extEntry->eventBase;
EventSwapVector[ShapeEventBase] = (EventSwapPtr) SShapeNotifyEvent;
}
}
-/*ARGSUSED*/
-static void
-ShapeResetProc (extEntry)
-ExtensionEntry *extEntry;
-{
-}
-
static int
RegionOperate (client, pWin, kind, destRgnp, srcRgn, op, xoff, yoff, create)
ClientPtr client;