summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
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;