summaryrefslogtreecommitdiff
path: root/beos/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'beos/gui.cpp')
-rw-r--r--beos/gui.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/beos/gui.cpp b/beos/gui.cpp
index 97117e04b..07bbc3eab 100644
--- a/beos/gui.cpp
+++ b/beos/gui.cpp
@@ -963,35 +963,6 @@ static void nsbeos_create_ssl_verify_window(struct browser_window *bw,
CALLED();
}
-
-nserror utf8_to_local_encoding(const char *string, size_t len, char **result)
-{
- assert(string && result);
-
- if (len == 0)
- len = strlen(string);
-
- *result = strndup(string, len);
- if (!(*result))
- return NSERROR_NOMEM;
-
- return NSERROR_OK;
-}
-
-nserror utf8_from_local_encoding(const char *string, size_t len, char **result)
-{
- assert(string && result);
-
- if (len == 0)
- len = strlen(string);
-
- *result = strndup(string, len);
- if (!(*result))
- return NSERROR_NOMEM;
-
- return NSERROR_OK;
-}
-
static char *path_to_url(const char *path)
{
int urllen = strlen(path) + FILE_SCHEME_PREFIX_LEN + 1;