summaryrefslogtreecommitdiff
path: root/src/apm.h
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-23 19:31:49 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-28 09:33:24 +0200
commit196784e691b8f8739792439434ffa002e9f5cdfa (patch)
tree3e0afbfe9d7f2d473025f7c06b4cbbd9f9d8cb9f /src/apm.h
parent3dfab5b9b809299704c8d3296e2cde30e703b2de (diff)
drop compat with ancient xserver versionsHEADmaster
We're relying on at least 1.18, so compat with older ones isn't needed anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/10>
Diffstat (limited to 'src/apm.h')
-rw-r--r--src/apm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/apm.h b/src/apm.h
index 7600c0c..c94d26b 100644
--- a/src/apm.h
+++ b/src/apm.h
@@ -37,7 +37,6 @@
#include "xf86xv.h"
#include <X11/extensions/Xv.h>
-#include "compat-api.h"
#ifdef TRUE
#undef TRUE
#endif
@@ -206,8 +205,8 @@ extern Bool ApmI2CInit(ScrnInfoPtr pScrn);
extern void XFree86RushExtensionInit(ScreenPtr pScreen);
extern void ApmInitVideo(ScreenPtr pScreen);
extern void ApmInitVideo_IOP(ScreenPtr pScreen);
-extern Bool ApmSwitchMode(SWITCH_MODE_ARGS_DECL);
-extern void ApmAdjustFrame(ADJUST_FRAME_ARGS_DECL);
+extern Bool ApmSwitchMode(ScrnInfoPtr pScrn, DisplayModePtr mode);
+extern void ApmAdjustFrame(ScrnInfoPtr pScrn, int x, int y);
extern void ApmHWCursorReserveSpace(ApmPtr pApm);
extern void ApmAccelReserveSpace(ApmPtr pApm);