Fix build with FAKE_HARDWARE_CURSOR_SUPPORT turned on

by adding the const specifier to the uint8* parameters of the
prototypes of the vesa_set_cursor_shape and vesa_set_cursor_bitmap
functions.

Thanks looncraz for pointing this out.
This commit is contained in:
John Scipione
2012-11-29 12:49:34 -05:00
parent 4e9b38d34e
commit 8f6542aa68
@@ -46,9 +46,10 @@ status_t vesa_set_dpms_mode(uint32 dpmsFlags);
// cursor
status_t vesa_set_cursor_shape(uint16 width, uint16 height, uint16 hotX,
uint16 hotY, uint8 *andMask, uint8 *xorMask);
uint16 hotY, const uint8 *andMask, const uint8 *xorMask);
status_t vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX,
uint16 hotY, uint32 colorSpace, uint16 bytesPerRow, uint8* bitmapData);
uint16 hotY, color_space colorSpace, uint16 bytesPerRow,
const uint8* bitmapData);
void vesa_move_cursor(uint16 x, uint16 y);
void vesa_show_cursor(bool is_visible);