Make local function static in jpeg_load.c, add missing header file in read_image.c

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20848 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-05-03 07:02:09 +00:00
parent a4c428114c
commit ad031e903c
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@
#include <plugin.h>
#include "feature_wrappers.h"
#include "read_image.h"
int read_image_file(const char* filename, struct bitmap *bm, int maxsize,
int format, const struct custom_format *cformat)

View file

@ -1689,7 +1689,7 @@ INLINE int huff_decode_ac(struct jpeg *p_jpeg, struct derived_tbl* tbl)
return s;
}
struct img_part *store_row_jpeg(void *jpeg_args)
static struct img_part *store_row_jpeg(void *jpeg_args)
{
struct jpeg *p_jpeg = (struct jpeg*) jpeg_args;
unsigned int width = p_jpeg->x_mbl << p_jpeg->h_scale[1];