Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 88a3e7b0b7a392daf2d334cd301bb11e > files > 7

x11-driver-video-xgixp-1.8.1-29.mga9.src.rpm

From 493ff095e1c7325162e4ccda5f60d859b53ab6d3 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 19 Jul 2016 10:01:31 -0400
Subject: [PATCH 7/8] Revert "Adapt Block/WakeupHandler signature for ABI 23"

This reverts commit 0152dd78f6568befec61e1738f5d2a6f893b57e7.

Had put this in the wrong half of the ifndef
---
 src/compat-api.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/compat-api.h b/src/compat-api.h
index 7f96c50..98ba435 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -48,19 +48,11 @@
 
 #define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
 
-#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
-#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout
-#define BLOCKHANDLER_ARGS arg, blockData, pTimeout
-
-#define WAKEUPHANDLER_ARGS_DECL int arg, pointer wakeupData, unsigned long result
-#define WAKEUPHANDLER_ARGS arg, wakeupData, result
-#else
 #define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
 #define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
 
 #define WAKEUPHANDLER_ARGS_DECL int arg, pointer wakeupData, unsigned long result, pointer read_mask
 #define WAKEUPHANDLER_ARGS arg, wakeupData, result, read_mask
-#endif
 
 #define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen
 #define CLOSE_SCREEN_ARGS scrnIndex, pScreen
-- 
2.10.2