mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-04 11:23:17 +00:00
xfree86: drivers: ark: use void* instead pointer
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5e45c860eb
commit
b5a9748be7
@@ -38,8 +38,8 @@ typedef struct _ARKRec {
|
||||
#endif
|
||||
EntityInfoPtr pEnt;
|
||||
CARD32 IOAddress;
|
||||
pointer FBBase;
|
||||
pointer MMIOBase;
|
||||
void* FBBase;
|
||||
void* MMIOBase;
|
||||
unsigned long videoRam;
|
||||
OptionInfoPtr Options;
|
||||
unsigned int Flags;
|
||||
|
||||
@@ -126,14 +126,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