(RPNG) Some functions can become static now

This commit is contained in:
twinaphex 2015-03-14 02:08:15 +01:00
parent ebbefc41b2
commit b29cc138c8
2 changed files with 2 additions and 10 deletions

View File

@ -483,7 +483,7 @@ static int png_reverse_filter_regular_iterate(uint32_t *data, const struct png_i
return PNG_PROCESS_NEXT;
}
int png_reverse_filter_regular_loop(uint32_t **data, const struct png_ihdr *ihdr,
static int png_reverse_filter_regular_loop(uint32_t **data, const struct png_ihdr *ihdr,
struct rpng_process_t *pngp)
{
int ret = png_reverse_filter_regular_iterate(*data, ihdr, pngp);
@ -553,7 +553,7 @@ static int png_reverse_filter_adam7_iterate(uint32_t **data_,
return PNG_PROCESS_NEXT;
}
int png_reverse_filter_adam7(uint32_t **data_,
static int png_reverse_filter_adam7(uint32_t **data_,
const struct png_ihdr *ihdr,
struct rpng_process_t *pngp)
{

View File

@ -42,14 +42,6 @@ bool png_process_ihdr(struct png_ihdr *ihdr);
int png_reverse_filter_init(const struct png_ihdr *ihdr,
struct rpng_process_t *pngp);
int png_reverse_filter_adam7(uint32_t **data,
const struct png_ihdr *ihdr,
struct rpng_process_t *pngp);
int png_reverse_filter_regular_loop(uint32_t **data,
const struct png_ihdr *ihdr,
struct rpng_process_t *pngp);
int png_reverse_filter_iterate(struct rpng_t *rpng,
uint32_t **data);