replace "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-05 16:32:17 +01:00
committed by Enrico Weigelt
parent 8ace8d8014
commit d31f8a6181
2 changed files with 4 additions and 4 deletions

View File

@@ -33,8 +33,8 @@ typedef struct _ARKRec {
struct pci_device *PciInfo;
EntityInfoPtr pEnt;
CARD32 IOAddress;
pointer FBBase;
pointer MMIOBase;
void* FBBase;
void* MMIOBase;
unsigned long videoRam;
OptionInfoPtr Options;
unsigned int Flags;

View File

@@ -124,14 +124,14 @@ static XF86ModuleVersionInfo ARKVersRec = {
_X_EXPORT XF86ModuleData arkModuleData = { &ARKVersRec, ARKSetup, NULL };
pointer ARKSetup(pointer module, pointer opts, int *errmaj, int *errmin)
void *ARKSetup(void *module, void *opts, int *errmaj, int *errmin)
{
static Bool setupDone = FALSE;
if (!setupDone) {
setupDone = TRUE;
xf86AddDriver(&ARK, module, 0);
return (pointer) 1;
return (void*) 1;
} else {
if (errmaj)
*errmaj = LDR_ONCEONLY;