mirror of
https://github.com/X11Libre/xf86-video-ark.git
synced 2026-03-24 01:24:39 +00:00
replace "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
8ace8d8014
commit
d31f8a6181
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user