mirror of
https://github.com/X11Libre/xf86-video-chips.git
synced 2026-03-24 01:24:44 +00:00
replace CLOSE_SCREEN_ARGS and CLOSE_SCREEN_ARGS_DECL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -38,7 +38,4 @@
|
||||
#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
|
||||
#define BLOCKHANDLER_ARGS arg, pTimeout
|
||||
|
||||
#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
|
||||
#define CLOSE_SCREEN_ARGS pScreen
|
||||
|
||||
#endif
|
||||
|
||||
@@ -146,7 +146,7 @@ static Bool CHIPSPreInit(ScrnInfoPtr pScrn, int flags);
|
||||
static Bool CHIPSScreenInit(SCREEN_INIT_ARGS_DECL);
|
||||
static Bool CHIPSEnterVT(ScrnInfoPtr arg);
|
||||
static void CHIPSLeaveVT(ScrnInfoPtr arg);
|
||||
static Bool CHIPSCloseScreen(CLOSE_SCREEN_ARGS_DECL);
|
||||
static Bool CHIPSCloseScreen(ScreenPtr pScreen);
|
||||
static void CHIPSFreeScreen(ScrnInfoPtr arg);
|
||||
static ModeStatus CHIPSValidMode(SCRN_ARG_TYPE arg, DisplayModePtr mode,
|
||||
Bool verbose, int flags);
|
||||
@@ -4070,7 +4070,7 @@ CHIPSAdjustFrame(ScrnInfoPtr arg, int x, int y)
|
||||
|
||||
/* Mandatory */
|
||||
static Bool
|
||||
CHIPSCloseScreen(CLOSE_SCREEN_ARGS_DECL)
|
||||
CHIPSCloseScreen(ScreenPtr pScreen)
|
||||
{
|
||||
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
|
||||
CHIPSPtr cPtr = CHIPSPTR(pScrn);
|
||||
@@ -4108,7 +4108,7 @@ CHIPSCloseScreen(CLOSE_SCREEN_ARGS_DECL)
|
||||
|
||||
pScreen->CloseScreen = cPtr->CloseScreen; /*§§§*/
|
||||
xf86ClearPrimInitDone(pScrn->entityList[0]);
|
||||
return (*pScreen->CloseScreen)(CLOSE_SCREEN_ARGS);/*§§§*/
|
||||
return pScreen->CloseScreen(pScreen);
|
||||
}
|
||||
|
||||
/* Optional */
|
||||
|
||||
Reference in New Issue
Block a user