diff options
Diffstat (limited to 'atari')
-rwxr-xr-x | atari/filetype.c | 6 | ||||
-rw-r--r-- | atari/filetype.h | 24 | ||||
-rw-r--r-- | atari/gui.c | 1 |
3 files changed, 23 insertions, 8 deletions
diff --git a/atari/filetype.c b/atari/filetype.c index 9b73a0508..5e700a0c6 100755 --- a/atari/filetype.c +++ b/atari/filetype.c @@ -91,9 +91,3 @@ error: LOG(("mime type: %s", res )); return( res );
}
-
-
-char *fetch_mimetype(const char *ro_path)
-{
- return strdup("text/plain");
-} diff --git a/atari/filetype.h b/atari/filetype.h index 54d915bf5..97ba75b80 100644 --- a/atari/filetype.h +++ b/atari/filetype.h @@ -1,2 +1,24 @@ -char *fetch_mimetype(const char *ro_path); +/* + * Copyright 2010 Ole Loots <ole@monochrom.net> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef NS_ATARI_FILETYPE_H_ +#define NS_ATARI_FILETYPE_H_ + const char *fetch_filetype(const char *unix_path); + +#endif diff --git a/atari/gui.c b/atari/gui.c index 4e077bdab..c275bfdc4 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -1078,7 +1078,6 @@ static struct gui_fetch_table atari_fetch_table = { .url_to_path = url_to_path, .get_resource_url = gui_get_resource_url, - .mimetype = fetch_mimetype, }; static struct gui_browser_table atari_browser_table = { |