summaryrefslogtreecommitdiff
path: root/content/content_factory.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-07 20:55:44 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-07 20:55:44 +0100
commitab952e063444544d57e86ff089715dd0b6558342 (patch)
treea4ae7751848bf6d42cda6b8df1397d6a489c81c8 /content/content_factory.h
parent5f8b1497e1489e2b3c11e8a49f01770433115ee2 (diff)
downloadnetsurf-ab952e063444544d57e86ff089715dd0b6558342.tar.gz
netsurf-ab952e063444544d57e86ff089715dd0b6558342.tar.bz2
improve content header usage
Diffstat (limited to 'content/content_factory.h')
-rw-r--r--content/content_factory.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/content/content_factory.h b/content/content_factory.h
index 9beeb193c..354a1789f 100644
--- a/content/content_factory.h
+++ b/content/content_factory.h
@@ -46,13 +46,12 @@ nserror HNAME##_init(void) \
struct content;
struct llcache_handle;
-
-typedef struct content_handler content_handler;
+struct content_handler;
void content_factory_fini(void);
nserror content_factory_register_handler(const char *mime_type,
- const content_handler *handler);
+ const struct content_handler *handler);
struct content *content_factory_create_content(struct llcache_handle *llcache,
const char *fallback_charset, bool quirks,