From 283cd05d0112b08753cb0b0c505a370ebccc52d1 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 3 May 2014 17:29:59 +0100 Subject: Improve documentation on mimetype fetcher table --- framebuffer/fetch.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'framebuffer/fetch.c') diff --git a/framebuffer/fetch.c b/framebuffer/fetch.c index 2942c2d48..c39ab5819 100644 --- a/framebuffer/fetch.c +++ b/framebuffer/fetch.c @@ -181,12 +181,6 @@ static const char *fetch_filetype(const char *unix_path) return "text/html"; } - -static char *fetch_mimetype(const char *ro_path) -{ - return strdup("text/plain"); -} - /* table for fetch operations */ static struct gui_fetch_table fetch_table = { .filename_from_path = filename_from_path, @@ -196,7 +190,6 @@ static struct gui_fetch_table fetch_table = { .url_to_path = url_to_path, .get_resource_url = get_resource_url, - .mimetype = fetch_mimetype, }; struct gui_fetch_table *framebuffer_fetch_table = &fetch_table; -- cgit v1.2.3