mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-03-24 18:04:00 +00:00
replace obsolete "pointer" typedef by void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
93d89e4374
commit
83d7cfecfd
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
11
src/evdev.c
11
src/evdev.c
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user