From 90185e9cd21ea5e5e09955c75fe8bb98b08b2abb Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 5 Oct 2004 20:25:55 +0000 Subject: move this function outside of #ifdef XFree86LOADER. --- src/savage_driver.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/savage_driver.c') diff --git a/src/savage_driver.c b/src/savage_driver.c index 2c3636f..0d4c1f2 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -430,15 +430,6 @@ static XF86ModuleVersionInfo SavageVersRec = { XF86ModuleData savageModuleData = { &SavageVersRec, SavageSetup, NULL }; -static SavageEntPtr SavageEntPriv(ScrnInfoPtr pScrn) -{ - DevUnion *pPriv; - SavagePtr psav = SAVPTR(pScrn); - pPriv = xf86GetEntityPrivate(psav->pEnt->index, - gSavageEntityIndex); - return pPriv->ptr; -} - static pointer SavageSetup(pointer module, pointer opts, int *errmaj, int *errmin) { @@ -463,6 +454,15 @@ static pointer SavageSetup(pointer module, pointer opts, int *errmaj, #endif /* XFree86LOADER */ +static SavageEntPtr SavageEntPriv(ScrnInfoPtr pScrn) +{ + DevUnion *pPriv; + SavagePtr psav = SAVPTR(pScrn); + pPriv = xf86GetEntityPrivate(psav->pEnt->index, + gSavageEntityIndex); + return pPriv->ptr; +} + /* * I'd rather have these wait macros be inline, but S3 has made it -- cgit v1.2.3