From 30909f8ed53848e450b7e362ef05b1eb06e09ddb Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 26 Feb 2015 15:58:40 +0000 Subject: Move FILE_SCHEME_PREFIX to corestrings. --- utils/url.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'utils/url.h') diff --git a/utils/url.h b/utils/url.h index 143a0a0fe..aafdf1e15 100644 --- a/utils/url.h +++ b/utils/url.h @@ -27,12 +27,6 @@ #include "utils/errors.h" -/** File url prefix. */ -#define FILE_SCHEME_PREFIX "file:///" - -/** File url prefix length. */ -#define FILE_SCHEME_PREFIX_LEN 8 - /** * Escape a string suitable for inclusion in an URL. @@ -44,7 +38,8 @@ * \param result pointer to pointer to buffer to hold escaped string * \return NSERROR_OK on success */ -nserror url_escape(const char *unescaped, size_t toskip, bool sptoplus, const char *escexceptions, char **result); +nserror url_escape(const char *unescaped, size_t toskip, bool sptoplus, + const char *escexceptions, char **result); /** -- cgit v1.2.3