summaryrefslogtreecommitdiff
path: root/Xext/saver.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/saver.c
parent6bcde69585fcc8f8dbfe81c115649f19274922fa (diff)
Remove all empty extension reset hooks, replace with NULL.
Diffstat (limited to 'Xext/saver.c')
-rw-r--r--Xext/saver.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/Xext/saver.c b/Xext/saver.c
index 69a5fa140..d74495bfa 100644
--- a/Xext/saver.c
+++ b/Xext/saver.c
@@ -110,10 +110,6 @@ static void SScreenSaverNotifyEvent (
xScreenSaverNotifyEvent * /* to */
);
-static void ScreenSaverResetProc (
- ExtensionEntry * /* extEntry */
- );
-
static RESTYPE SuspendType; /* resource type for suspension records */
typedef struct _ScreenSaverSuspension *ScreenSaverSuspensionPtr;
@@ -269,20 +265,13 @@ ScreenSaverExtensionInit(INITARGS)
if (AttrType && EventType && SuspendType &&
(extEntry = AddExtension(ScreenSaverName, ScreenSaverNumberEvents, 0,
ProcScreenSaverDispatch, SProcScreenSaverDispatch,
- ScreenSaverResetProc, StandardMinorOpcode)))
+ NULL, StandardMinorOpcode)))
{
ScreenSaverEventBase = extEntry->eventBase;
EventSwapVector[ScreenSaverEventBase] = (EventSwapPtr) SScreenSaverNotifyEvent;
}
}
-/*ARGSUSED*/
-static void
-ScreenSaverResetProc (extEntry)
-ExtensionEntry *extEntry;
-{
-}
-
static void
CheckScreenPrivate (pScreen)
ScreenPtr pScreen;