Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-17 15:05:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-17 15:05:09 +0300
commit1b25f48542b85f61e9fb6044e5ec0b1985a7906a (patch)
tree7ae4432ef958a307b65dc9a1391393a603b6001d /source/blender/blenfont
parentcf6f6c1c5e3971e0d4e023bd8267b9430e46f598 (diff)
clear some unused warnings
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/BLF_api.h2
-rw-r--r--source/blender/blenfont/intern/blf_lang.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h
index b696c64023d..d26c5166ddc 100644
--- a/source/blender/blenfont/BLF_api.h
+++ b/source/blender/blenfont/BLF_api.h
@@ -177,6 +177,8 @@ void BLF_lang_set(const char *);
/* Set the current encoding name. */
void BLF_lang_encoding_name(const char *str);
+void BLF_lang_encoding(const char *str);
+
/* Add a path to the font dir paths. */
void BLF_dir_add(const char *path);
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c
index 610e8750bc1..a9322944ce5 100644
--- a/source/blender/blenfont/intern/blf_lang.c
+++ b/source/blender/blenfont/intern/blf_lang.c
@@ -99,7 +99,7 @@ void BLF_lang_set(const char *str)
BLI_strncpy(global_language, str, sizeof(global_language));
}
-static void BLF_lang_encoding(const char *str)
+void BLF_lang_encoding(const char *str)
{
BLI_strncpy(global_encoding_name, str, sizeof(global_encoding_name));
/* bind_textdomain_codeset(DOMAIN_NAME, encoding_name); */
@@ -112,7 +112,7 @@ void BLF_lang_init(void)
return;
}
-static void BLF_lang_encoding(const char *str)
+void BLF_lang_encoding(const char *str)
{
(void)str;
return;