summaryrefslogtreecommitdiff
path: root/cocoa/fetch.m
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-22 23:19:57 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-23 00:00:18 +0000
commit047569339406f2be1637ae4cee5dd0c9a9c2328f (patch)
tree3d3909b4bc3d27cd7a9e146d32539ce752b33310 /cocoa/fetch.m
parent4684e9665d2ddff50f4a8e9a16d73224d2617180 (diff)
downloadnetsurf-047569339406f2be1637ae4cee5dd0c9a9c2328f.tar.gz
netsurf-047569339406f2be1637ae4cee5dd0c9a9c2328f.tar.bz2
create table for fetcher operations and move all operations into it
Diffstat (limited to 'cocoa/fetch.m')
-rw-r--r--cocoa/fetch.m8
1 files changed, 2 insertions, 6 deletions
diff --git a/cocoa/fetch.m b/cocoa/fetch.m
index ff1496246..b1c7aea9e 100644
--- a/cocoa/fetch.m
+++ b/cocoa/fetch.m
@@ -21,6 +21,8 @@
#import "utils/log.h"
#import "content/fetch.h"
+#import "cocoa/fetch.h"
+
static char cocoafiletype[200];
static const struct mimemap_s {
@@ -91,9 +93,3 @@ const char *fetch_filetype(const char *unix_path)
return cocoafiletype;
}
-
-
-char *fetch_mimetype(const char *ro_path)
-{
- return strdup( fetch_filetype( ro_path ) );
-}