aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/Charset.cxx5
-rw-r--r--src/fs/Charset.hxx3
-rw-r--r--src/fs/Config.cxx8
-rw-r--r--src/fs/Config.hxx3
4 files changed, 19 insertions, 0 deletions
diff --git a/src/fs/Charset.cxx b/src/fs/Charset.cxx
index 9471d97f8..065ba9a12 100644
--- a/src/fs/Charset.cxx
+++ b/src/fs/Charset.cxx
@@ -88,6 +88,11 @@ SetFSCharset(const char *charset, Error &error)
#endif
+void
+DeinitFSCharset()
+{
+}
+
const char *
GetFSCharset()
{
diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx
index 102fa2536..7a5193576 100644
--- a/src/fs/Charset.hxx
+++ b/src/fs/Charset.hxx
@@ -41,6 +41,9 @@ GetFSCharset();
bool
SetFSCharset(const char *charset, Error &error);
+void
+DeinitFSCharset();
+
/**
* Convert the path to UTF-8.
* Returns empty string on error.
diff --git a/src/fs/Config.cxx b/src/fs/Config.cxx
index 972365289..cb7e86e09 100644
--- a/src/fs/Config.cxx
+++ b/src/fs/Config.cxx
@@ -61,3 +61,11 @@ ConfigureFS(Error &error)
return true;
#endif
}
+
+void
+DeinitFS()
+{
+#ifdef HAVE_FS_CHARSET
+ DeinitFSCharset();
+#endif
+}
diff --git a/src/fs/Config.hxx b/src/fs/Config.hxx
index d2cde4a66..403c07685 100644
--- a/src/fs/Config.hxx
+++ b/src/fs/Config.hxx
@@ -30,4 +30,7 @@ class Error;
bool
ConfigureFS(Error &error);
+void
+DeinitFS();
+
#endif