summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-25 23:21:28 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-25 23:21:28 +0000
commitdc074042e9f4bcd7d3ccf09fcd81f9b11a0517d0 (patch)
treed517ef3f3bcb00a49c4c61d7f5f5d38b73b2174d /riscos
parent8ce0a10670e655d9e3a4f31fedd34baf1a3189b9 (diff)
downloadnetsurf-dc074042e9f4bcd7d3ccf09fcd81f9b11a0517d0.tar.gz
netsurf-dc074042e9f4bcd7d3ccf09fcd81f9b11a0517d0.tar.bz2
fix errors in url_to_path tfetch table changes
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c2
-rw-r--r--riscos/gui.h1
2 files changed, 2 insertions, 1 deletions
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);