From 448b0275ae4d62b31f64e3c6399d4fb5a045315c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 16 Apr 2010 23:56:53 +0000 Subject: Fix file: handling on risc os, gtk, windows and framebuffer frontends svn path=/trunk/netsurf/; revision=10419 --- framebuffer/misc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'framebuffer/misc.c') diff --git a/framebuffer/misc.c b/framebuffer/misc.c index c5f367019..5e351f517 100644 --- a/framebuffer/misc.c +++ b/framebuffer/misc.c @@ -40,10 +40,6 @@ bool cookies_update(const char *domain, const struct cookie_data *data) return true; } -char *url_to_path(const char *url) -{ - return strdup(url + 5); -} /** * Return the filename part of a full path @@ -51,7 +47,6 @@ char *url_to_path(const char *url) * \param path full path and filename * \return filename (will be freed with free()) */ - char *filename_from_path(char *path) { char *leafname; -- cgit v1.2.3