summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2004-10-05 20:25:55 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2004-10-05 20:25:55 +0000
commit90185e9cd21ea5e5e09955c75fe8bb98b08b2abb (patch)
treec60e6eb34dd51dd64ccdfc798d0f7dc90884153f
parent6b44184b17d796fca58323807e7df28efe53b57e (diff)
move this function outside of #ifdef XFree86LOADER.
-rw-r--r--src/savage_driver.c18
1 files changed, 9 insertions, 9 deletions
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