summaryrefslogtreecommitdiff
path: root/content/fetchers
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchers')
-rw-r--r--content/fetchers/resource.c1
-rw-r--r--content/fetchers/resource.h13
2 files changed, 1 insertions, 13 deletions
diff --git a/content/fetchers/resource.c b/content/fetchers/resource.c
index f217d6e53..c8557b6ea 100644
--- a/content/fetchers/resource.c
+++ b/content/fetchers/resource.c
@@ -41,6 +41,7 @@
#include "content/fetch.h"
#include "content/fetchers/resource.h"
#include "content/urldb.h"
+#include "desktop/gui.h"
#include "desktop/netsurf.h"
#include "desktop/options.h"
#include "utils/log.h"
diff --git a/content/fetchers/resource.h b/content/fetchers/resource.h
index 35c397310..79d8e37c4 100644
--- a/content/fetchers/resource.h
+++ b/content/fetchers/resource.h
@@ -37,17 +37,4 @@
*/
void fetch_resource_register(void);
-/**
- * Callback to translate resource to full url.
- *
- * Transforms a resource: filename into a full URL. The returned URL
- * is used as the target for a redirect. The caller takes ownership of
- * the returned string including freeing it when finished with it.
- *
- * \param filename The filename of the resource to locate.
- * \return A string containing the full URL of the target object or
- * NULL if no suitable resource can be found.
- */
-char* gui_get_resource_url(const char *filename);
-
#endif