replace obsolete "pointer" typedef by plain void*

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-07 17:28:17 +01:00
committed by Enrico Weigelt
parent 8b07470df0
commit 22ec8b06ed

View File

@@ -111,8 +111,8 @@ static XF86ModuleVersionInfo suncg6VersRec =
_X_EXPORT XF86ModuleData suncg6ModuleData = { &suncg6VersRec, cg6Setup, NULL };
pointer
cg6Setup(pointer module, pointer opts, int *errmaj, int *errmin)
void *
cg6Setup(void *module, void *opts, int *errmaj, int *errmin)
{
static Bool setupDone = FALSE;
@@ -129,7 +129,7 @@ cg6Setup(pointer module, pointer opts, int *errmaj, int *errmin)
* The return value must be non-NULL on success even though there
* is no TearDownProc.
*/
return (pointer)TRUE;
return (void*)TRUE;
} else {
if (errmaj) *errmaj = LDR_ONCEONLY;
return NULL;