summaryrefslogtreecommitdiff
path: root/src/cir.h
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-14 13:36:52 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-23 18:37:02 +0200
commit15d68316524c593bd67a6ea59b5c746a94c6c1f6 (patch)
treea2067abda15da990664915ca333ed047448cd0da /src/cir.h
parentf6ed544a2c98bd4e3b086ce456d90204194d128b (diff)
drop compat to pre-1.18 xorg-server versionsHEADmaster
Since we're now relying on >= 1.18, we can drop lots of old compat stuff. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-cirrus/-/merge_requests/8>
Diffstat (limited to 'src/cir.h')
-rw-r--r--src/cir.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cir.h b/src/cir.h
index 1d1affa..9691db1 100644
--- a/src/cir.h
+++ b/src/cir.h
@@ -8,7 +8,6 @@
#include <string.h>
#include <stdlib.h>
-#include "compat-api.h"
#include "cir_pcirename.h"
/* Card-specific driver information */
@@ -60,7 +59,7 @@ typedef struct {
int rotate;
int ShadowPitch;
unsigned char * ShadowPtr;
- void (*PointerMoved)(SCRN_ARG_TYPE arg, int x, int y);
+ void (*PointerMoved)(ScrnInfoPtr arg, int x, int y);
int pitch;
unsigned char ** ScanlineColorExpandBuffers;
@@ -86,7 +85,7 @@ extern void cirProbeDDC(ScrnInfoPtr pScrn, int index);
extern Bool CirDGAInit(ScreenPtr pScreen);
/* in cir_shadow.c */
-void cirPointerMoved(SCRN_ARG_TYPE arg, int x, int y);
+void cirPointerMoved(ScrnInfoPtr arg, int x, int y);
void cirRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void cirRefreshArea8(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void cirRefreshArea16(ScrnInfoPtr pScrn, int num, BoxPtr pbox);