diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
commit | 9596ebb7012a19a45ca036a200acd617a93a321b (patch) | |
tree | df011db5945e48dc0c86c04daf2c2072f43f2867 /hw/omap_lcdc.c | |
parent | 4c1b1bfe30dab7bc08e3ff8f179f8e11be9d7f04 (diff) |
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap_lcdc.c')
-rw-r--r-- | hw/omap_lcdc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/omap_lcdc.c b/hw/omap_lcdc.c index c6565d1db9..c79d244c1f 100644 --- a/hw/omap_lcdc.c +++ b/hw/omap_lcdc.c @@ -114,7 +114,7 @@ static draw_line_func *draw_line_table2[33] = { [32] = draw_line16_32, }; -void omap_update_display(void *opaque) +static void omap_update_display(void *opaque) { struct omap_lcd_panel_s *omap_lcd = (struct omap_lcd_panel_s *) opaque; draw_line_func *draw_line; @@ -289,7 +289,7 @@ static int ppm_save(const char *filename, uint8_t *data, return 0; } -void omap_screen_dump(void *opaque, const char *filename) { +static void omap_screen_dump(void *opaque, const char *filename) { struct omap_lcd_panel_s *omap_lcd = opaque; omap_update_display(opaque); if (omap_lcd && omap_lcd->state->data) @@ -298,12 +298,12 @@ void omap_screen_dump(void *opaque, const char *filename) { omap_lcd->state->linesize); } -void omap_invalidate_display(void *opaque) { +static void omap_invalidate_display(void *opaque) { struct omap_lcd_panel_s *omap_lcd = opaque; omap_lcd->invalidate = 1; } -void omap_lcd_update(struct omap_lcd_panel_s *s) { +static void omap_lcd_update(struct omap_lcd_panel_s *s) { if (!s->enable) { s->dma->current_frame = -1; s->sync_error = 0; |