From dc074042e9f4bcd7d3ccf09fcd81f9b11a0517d0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 25 Jan 2014 23:21:28 +0000 Subject: fix errors in url_to_path tfetch table changes --- cocoa/NetsurfApp.m | 1 + riscos/gui.c | 2 +- riscos/gui.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m index 32ad8f1fb..5c359114c 100644 --- a/cocoa/NetsurfApp.m +++ b/cocoa/NetsurfApp.m @@ -22,6 +22,7 @@ #import "cocoa/plotter.h" #import "cocoa/DownloadWindowController.h" #import "cocoa/selection.h" +#import "cocoa/fetch.h" #import "desktop/gui.h" #import "content/urldb.h" diff --git a/riscos/gui.c b/riscos/gui.c index 43e2f3a4e..69d5b2932 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -808,7 +808,7 @@ static char *path_to_url(const char *path) * \return RISC OS pathname, allocated on heap, or 0 on failure */ -static char *url_to_path(const char *url) +char *url_to_path(const char *url) { char *path; char *filename; diff --git a/riscos/gui.h b/riscos/gui.h index 3eeb56273..32710b442 100644 --- a/riscos/gui.h +++ b/riscos/gui.h @@ -119,6 +119,7 @@ void ro_gui_drag_box_start(wimp_pointer *pointer); bool ro_gui_prequit(void); const char *ro_gui_default_language(void); void gui_poll(bool active); /* exported for riscos/wimp_event.c:722 */ +char *url_to_path(const char *url); /* in download.c */ void ro_gui_download_init(void); -- cgit v1.2.3