replace obsolete "pointer" typedef by void*

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-02 17:37:37 +01:00
committed by Enrico Weigelt
parent 93d89e4374
commit 83d7cfecfd
4 changed files with 6 additions and 13 deletions

View File

@@ -326,7 +326,7 @@ EvdevMBEmuOn(InputInfoPtr pInfo)
RegisterBlockAndWakeupHandlers (EvdevMBEmuBlockHandler,
EvdevMBEmuWakeupHandler,
(pointer)pInfo);
(void*)pInfo);
}
void
@@ -337,7 +337,7 @@ EvdevMBEmuFinalize(InputInfoPtr pInfo)
RemoveBlockAndWakeupHandlers (EvdevMBEmuBlockHandler,
EvdevMBEmuWakeupHandler,
(pointer)pInfo);
(void*)pInfo);
}

View File

@@ -81,7 +81,7 @@ Evdev3BEmuPostButtonEvent(InputInfoPtr pInfo, int button, enum ButtonAction act)
* @param arg The InputInfoPtr for this device.
*/
CARD32
Evdev3BEmuTimer(OsTimerPtr timer, CARD32 time, pointer arg)
Evdev3BEmuTimer(OsTimerPtr timer, CARD32 time, void *arg)
{
InputInfoPtr pInfo = (InputInfoPtr)arg;
EvdevPtr pEvdev = pInfo->private;

View File

@@ -2693,16 +2693,9 @@ _X_EXPORT InputDriverRec EVDEV = {
#endif
};
static void
EvdevUnplug(pointer p)
{
}
static void EvdevUnplug(void *p) { }
static pointer
EvdevPlug(pointer module,
pointer options,
int *errmaj,
int *errmin)
static void *EvdevPlug(void *module, void *options, int *errmaj, int *errmin)
{
xf86AddInputDriver(&EVDEV, module, 0);
return module;

View File

@@ -269,7 +269,7 @@ void EvdevMBEmuOn(InputInfoPtr);
void EvdevMBEmuFinalize(InputInfoPtr);
/* Third button emulation */
CARD32 Evdev3BEmuTimer(OsTimerPtr timer, CARD32 time, pointer arg);
CARD32 Evdev3BEmuTimer(OsTimerPtr timer, CARD32 time, void *arg);
BOOL Evdev3BEmuFilterEvent(InputInfoPtr, int, BOOL);
void Evdev3BEmuPreInit(InputInfoPtr pInfo);
void Evdev3BEmuOn(InputInfoPtr);