[xf86-video-savage,v2] Changing result parameter type for ScreenWakeupHandlerProcPtr

Submitted by Kevin Brace on Feb. 7, 2019, 3:01 a.m.

Details

Message ID 1549508485-7897-1-git-send-email-kevinbrace@gmx.com
State New
Series "Changing result parameter type for ScreenWakeupHandlerProcPtr"
Headers show

Commit Message

Kevin Brace Feb. 7, 2019, 3:01 a.m.
For ABI_VIDEODRV_VERSION >= 23, it was changed to int from unsigned
long.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
---
 src/compat-api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/compat-api.h b/src/compat-api.h
index 44daea4..7cf29d0 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -82,7 +82,7 @@ 
 #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
 #define BLOCKHANDLER_ARGS arg, pTimeout
 
-#define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, unsigned long result
+#define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, int result
 #define WAKEUPHANDLER_ARGS arg, result
 #else
 #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask