From 91ebf4685380eb3cb43b49d389ced8f8fbac7f6a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 20 Feb 2009 14:49:57 +0100 Subject: path: don't export path_set_fs_charset() The function path_set_fs_charset() is only used in path.c. --- src/path.c | 3 ++- src/path.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/path.c b/src/path.c index 1b6405cb..575124c2 100644 --- a/src/path.c +++ b/src/path.c @@ -52,7 +52,8 @@ utf8_to_fs_charset(const char *path_utf8) return p; } -void path_set_fs_charset(const char *charset) +static void +path_set_fs_charset(const char *charset) { char *test; diff --git a/src/path.h b/src/path.h index 71b09fb5..9a003167 100644 --- a/src/path.h +++ b/src/path.h @@ -49,8 +49,6 @@ fs_charset_to_utf8(const char *path_fs); char * utf8_to_fs_charset(const char *path_utf8); -void path_set_fs_charset(const char *charset); - const char *path_get_fs_charset(void); #endif -- cgit v1.2.3