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-05 17:52:00 +01:00
committed by Enrico Weigelt
parent efa054a862
commit 6328da80ce
2 changed files with 5 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ typedef struct {
} MSMDRI2DrawableRec, *MSMDRI2DrawablePtr;
static int
MSMDRI2DrawableGone(pointer p, XID id)
MSMDRI2DrawableGone(void *p, XID id)
{
MSMDRI2DrawablePtr pPriv = p;

View File

@@ -87,7 +87,7 @@ static void MSMLeaveVT(ScrnInfoPtr pScrn);
Bool msmDebug = TRUE;
static void
MSMBlockHandler (ScreenPtr pScreen, pointer pTimeout)
MSMBlockHandler (ScreenPtr pScreen, void *pTimeout)
{
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
MSMPtr pMsm = MSMPTR(pScrn);
@@ -824,8 +824,8 @@ static XF86ModuleVersionInfo freedrenoVersRec = {
_X_EXPORT XF86ModuleData freedrenoModuleData = { &freedrenoVersRec, freedrenoSetup, NULL };
pointer
freedrenoSetup(pointer module, pointer ops, int *errmaj, int *errmin)
void *
freedrenoSetup(void *module, void *ops, int *errmaj, int *errmin)
{
static Bool initDone = FALSE;
@@ -834,7 +834,7 @@ freedrenoSetup(pointer module, pointer ops, int *errmaj, int *errmin)
xf86AddDriver(&freedrenoDriver, module, HaveDriverFuncs);
/* FIXME: Load symbol references here */
return (pointer) 1;
return (void*) 1;
} else {
if (errmaj)
*errmaj = LDR_ONCEONLY;