diff options
author | Egbert Eich <eich@suse.de> | 2014-04-22 12:37:49 +0200 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2014-04-30 17:25:14 +0200 |
commit | 7c7fc069b7a50813c3ff88706e5616418f9ec76b (patch) | |
tree | 62a376fcf7ce4c2943ff71ada8a46ffa9c2c584c /src/ast_driver.c | |
parent | 0ddf408f17cee58d643f4fd2f683f6530f5027af (diff) |
Fix compiler warnings: add DrawablePtr argument to ASTPutImage
An archaeological survey revealed that this ABI change took place
in 2006 already.
Signed-off-by: Egbert Eich <eich@suse.de>
Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
Diffstat (limited to 'src/ast_driver.c')
-rw-r--r-- | src/ast_driver.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c index 639562d..b04b026 100644 --- a/src/ast_driver.c +++ b/src/ast_driver.c @@ -128,7 +128,11 @@ static Bool ASTModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode); static void ASTInitVideo(ScreenPtr pScreen); static int ASTPutImage( ScrnInfoPtr, short, short, short, short, short, short, short, short, - int, unsigned char*, short, short, Bool, RegionPtr, pointer); + int, unsigned char*, short, short, Bool, RegionPtr, pointer +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 1 + , DrawablePtr pDraw +#endif + ); #endif /* @@ -2134,6 +2138,9 @@ static int ASTPutImage(ScrnInfoPtr pScrn, short width, short height, Bool sync, RegionPtr clipBoxes, pointer data +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 1 + , DrawablePtr pDraw +#endif ) { ASTPtr pAST = ASTPTR(pScrn); |