1 --- xf86-video-siliconmotion-1.7.8.orig/src/compat-api.h 2015-05-08 13:08:17.000000000 +0200
2 +++ xf86-video-siliconmotion-1.7.8/src/compat-api.h 2017-01-26 02:35:36.147052952 +0100
5 #define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
7 +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
8 +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
9 +#define BLOCKHANDLER_ARGS arg, pTimeout
11 #define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
12 #define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
15 #define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen
16 #define CLOSE_SCREEN_ARGS scrnIndex, pScreen
19 #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
21 +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
22 +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
23 +#define BLOCKHANDLER_ARGS arg, pTimeout
25 #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
26 #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
29 #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
30 #define CLOSE_SCREEN_ARGS pScreen