diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-06-06 08:59:23 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-06-06 09:01:38 +0100 |
commit | 76a68d7dd02f3819e4e60cd9febfd45e20821e14 (patch) | |
tree | a86fc61314fd53d383cb95a313a2897779984214 /content/handlers/image/png.c | |
parent | d923e109cd56c553c8e87cdb8bdab5085e68cc73 (diff) | |
download | netsurf-76a68d7dd02f3819e4e60cd9febfd45e20821e14.tar.gz netsurf-76a68d7dd02f3819e4e60cd9febfd45e20821e14.tar.bz2 |
Update content to split public and internal API
Diffstat (limited to 'content/handlers/image/png.c')
-rw-r--r-- | content/handlers/image/png.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/content/handlers/image/png.c b/content/handlers/image/png.c index 04083d8a4..45f415a6b 100644 --- a/content/handlers/image/png.c +++ b/content/handlers/image/png.c @@ -25,9 +25,10 @@ #include "utils/utils.h" #include "utils/log.h" #include "utils/messages.h" +#include "netsurf/bitmap.h" +#include "content/llcache.h" #include "content/content_protected.h" #include "desktop/gui_internal.h" -#include "netsurf/bitmap.h" #include "image_cache.h" #include "png.h" @@ -277,10 +278,14 @@ static nserror nspng_create_png_data(nspng_content *png_c) return NSERROR_OK; } -static nserror nspng_create(const content_handler *handler, - lwc_string *imime_type, const struct http_parameter *params, - llcache_handle *llcache, const char *fallback_charset, - bool quirks, struct content **c) +static nserror +nspng_create(const content_handler *handler, + lwc_string *imime_type, + const struct http_parameter *params, + struct llcache_handle *llcache, + const char *fallback_charset, + bool quirks, + struct content **c) { nspng_content *png_c; nserror error; |