summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-05-03 17:29:59 +0100
committerVincent Sanders <vince@kyllikki.org>2014-05-07 16:23:19 +0100
commit283cd05d0112b08753cb0b0c505a370ebccc52d1 (patch)
treeb1f385e00df72d20b360e9787fc5f4f8716235f6 /windows
parentf6867efcf895e0010fcdabe0351a5d3fa4a67d89 (diff)
downloadnetsurf-283cd05d0112b08753cb0b0c505a370ebccc52d1.tar.gz
netsurf-283cd05d0112b08753cb0b0c505a370ebccc52d1.tar.bz2
Improve documentation on mimetype fetcher table
Diffstat (limited to 'windows')
-rw-r--r--windows/filetype.c6
-rw-r--r--windows/filetype.h1
-rw-r--r--windows/gui.c2
3 files changed, 0 insertions, 9 deletions
diff --git a/windows/filetype.c b/windows/filetype.c
index 5c6485659..996e0755e 100644
--- a/windows/filetype.c
+++ b/windows/filetype.c
@@ -51,9 +51,3 @@ const char *fetch_filetype(const char *unix_path)
return "image/x-ms-bmp";
return "text/html";
}
-
-
-char *fetch_mimetype(const char *ro_path)
-{
- return strdup("text/plain");
-}
diff --git a/windows/filetype.h b/windows/filetype.h
index e5017eaf4..084e97493 100644
--- a/windows/filetype.h
+++ b/windows/filetype.h
@@ -20,6 +20,5 @@
#define _NETSURF_WINDOWS_FILETYPE_H_
const char *fetch_filetype(const char *unix_path);
-char *fetch_mimetype(const char *ro_path);
#endif
diff --git a/windows/gui.c b/windows/gui.c
index 8270c13ff..0af54ee62 100644
--- a/windows/gui.c
+++ b/windows/gui.c
@@ -1881,8 +1881,6 @@ static struct gui_fetch_table fetch_table = {
.filetype = fetch_filetype,
.path_to_url = path_to_url,
.url_to_path = url_to_path,
-
- .mimetype = fetch_mimetype,
};
struct gui_fetch_table *win32_fetch_table = &fetch_table;