diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-23 19:31:49 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-28 09:33:24 +0200 |
commit | 196784e691b8f8739792439434ffa002e9f5cdfa (patch) | |
tree | 3e0afbfe9d7f2d473025f7c06b4cbbd9f9d8cb9f /src/apm.h | |
parent | 3dfab5b9b809299704c8d3296e2cde30e703b2de (diff) |
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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |