summaryrefslogtreecommitdiff
path: root/src/atiscreen.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-23 19:43:05 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-28 17:11:09 +0200
commit878048e3aec04c6bb8034f21afdfff37e3528c5f (patch)
tree134fd73c77c3acafce26766ffe53e309b3b636a3 /src/atiscreen.c
parent28e714fb98df73134c9d13cd4e01ff97089c0df0 (diff)
drop compat with ancient xserversHEADmaster
Relying on >= 1.18 now, so no need to keep compat with older ones. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64/-/merge_requests/18>
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);
}