mirror of
https://github.com/X11Libre/xf86-video-voodoo.git
synced 2026-03-24 01:25:25 +00:00
replace obsolete "pointer" typedef by plain void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
6710e944bd
commit
62ff23ee65
@@ -128,7 +128,7 @@ static XF86ModuleVersionInfo voodooVersRec =
|
||||
{0,0,0,0}
|
||||
};
|
||||
|
||||
static pointer voodooSetup(pointer module, pointer opts, int *errmaj, int *errmin)
|
||||
static void *voodooSetup(void *module, void *opts, int *errmaj, int *errmin)
|
||||
{
|
||||
static int setupDone = FALSE;
|
||||
if(errmaj)
|
||||
@@ -137,7 +137,7 @@ static pointer voodooSetup(pointer module, pointer opts, int *errmaj, int *errmi
|
||||
{
|
||||
setupDone = TRUE;
|
||||
xf86AddDriver(&VOODOO, module, 0);
|
||||
return (pointer)1;
|
||||
return (void*)1;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user