From 9596ebb7012a19a45ca036a200acd617a93a321b Mon Sep 17 00:00:00 2001 From: pbrook Date: Sun, 18 Nov 2007 01:44:38 +0000 Subject: Add statics and missing #includes for prototypes. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/omap_lcdc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hw/omap_lcdc.c') 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; -- cgit v1.2.3