summaryrefslogtreecommitdiff
path: root/src/atiscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atiscreen.c')
-rw-r--r--src/atiscreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atiscreen.c b/src/atiscreen.c
index 0adee08..56bf1e1 100644
--- a/src/atiscreen.c
+++ b/src/atiscreen.c
@@ -332,7 +332,7 @@ ATIScreenInit(SCREEN_INIT_ARGS_DECL)
* This function is called by DIX to close the screen.
*/
Bool
-ATICloseScreen (CLOSE_SCREEN_ARGS_DECL)
+ATICloseScreen (ScreenPtr pScreen)
{
ScrnInfoPtr pScreenInfo = xf86ScreenToScrn(pScreen);
ATIPtr pATI = ATIPTR(pScreenInfo);
@@ -373,5 +373,5 @@ ATICloseScreen (CLOSE_SCREEN_ARGS_DECL)
pScreenInfo->pScreen = NULL;
pScreen->CloseScreen = pATI->CloseScreen;
- return (*pScreen->CloseScreen)(CLOSE_SCREEN_ARGS);
+ return (*pScreen->CloseScreen)(pScreen);
}