diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-22 16:17:55 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-23 11:06:12 +0100 |
commit | 2101e485480e3ffd6a17ed12f5287b8b1e4e0223 (patch) | |
tree | 7a3af02f72444445bc0d3ee6391acf2ec1595065 /src/radeon.h | |
parent | 9d2549057ffced996bfaeb8df4901ef57da636c7 (diff) |
compat for new server API
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/radeon.h b/src/radeon.h index 4fdfca6c..c7c7252b 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -67,8 +67,6 @@ /* Xv support */ #include "xf86xv.h" -#include "compat-api.h" - #include "radeon_probe.h" #include "radeon_tv.h" @@ -104,6 +102,8 @@ #include "picturestr.h" #endif +#include "compat-api.h" + #include "simple_list.h" #include "atipcirename.h" @@ -515,7 +515,7 @@ struct radeon_dri { int numVisualConfigs; __GLXvisualConfig *pVisualConfigs; RADEONConfigPrivPtr pVisualConfigsPriv; - Bool (*DRICloseScreen)(int, ScreenPtr); + Bool (*DRICloseScreen)(CLOSE_SCREEN_ARGS_DECL); drm_handle_t fbHandle; @@ -865,9 +865,9 @@ typedef struct { RADEONSavePtr SavedReg; /* Original (text) mode */ RADEONSavePtr ModeReg; /* Current mode */ - Bool (*CloseScreen)(int, ScreenPtr); + Bool (*CloseScreen)(CLOSE_SCREEN_ARGS_DECL); - void (*BlockHandler)(int, pointer, pointer, pointer); + void (*BlockHandler)(SCREEN_ARG_TYPE, pointer, pointer, pointer); Bool PaletteSavedOnVT; /* Palette saved on last VT switch */ |