diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-30 23:47:49 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-30 23:47:49 +0000 |
commit | 57933f2bc6cd404874e5772f35d9c10861d1f52e (patch) | |
tree | 63eb13fc550707e19f8624d5d2693111ee1f4c4a /apps/gui/skin_engine/skin_render.c | |
parent | d73c81f912f51abcfb034ed3e563fd4b39db5854 (diff) | |
download | rockbox-57933f2bc6cd404874e5772f35d9c10861d1f52e.tar.gz rockbox-57933f2bc6cd404874e5772f35d9c10861d1f52e.zip |
Make some global function/variables local (by making them static)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27631 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_render.c')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index e05f97ff4e..b56fabeaa0 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -322,7 +322,7 @@ static void fix_line_alignment(struct skin_draw_info *info, struct skin_element | |||
322 | } | 322 | } |
323 | 323 | ||
324 | /* Draw a LINE element onto the display */ | 324 | /* Draw a LINE element onto the display */ |
325 | bool skin_render_line(struct skin_element* line, struct skin_draw_info *info) | 325 | static bool skin_render_line(struct skin_element* line, struct skin_draw_info *info) |
326 | { | 326 | { |
327 | bool needs_update = false; | 327 | bool needs_update = false; |
328 | int last_value, value; | 328 | int last_value, value; |
@@ -471,8 +471,8 @@ bool skin_render_alternator(struct skin_element* element, struct skin_draw_info | |||
471 | return changed_lines || ret; | 471 | return changed_lines || ret; |
472 | } | 472 | } |
473 | 473 | ||
474 | void skin_render_viewport(struct skin_element* viewport, struct gui_wps *gwps, | 474 | static void skin_render_viewport(struct skin_element* viewport, struct gui_wps *gwps, |
475 | struct skin_viewport* skin_viewport, unsigned long refresh_type) | 475 | struct skin_viewport* skin_viewport, unsigned long refresh_type) |
476 | { | 476 | { |
477 | struct screen *display = gwps->display; | 477 | struct screen *display = gwps->display; |
478 | char linebuf[MAX_LINE]; | 478 | char linebuf[MAX_LINE]; |