1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-21 05:57:34 +03:00

locale-util: export emoji_enable() for other code to use

This commit is contained in:
Lennart Poettering 2020-04-15 11:59:06 +02:00
parent 48d70b4ac9
commit 539ee0989e
2 changed files with 3 additions and 1 deletions

View File

@ -305,7 +305,7 @@ out:
return (bool) cached_answer;
}
static bool emoji_enabled(void) {
bool emoji_enabled(void) {
static int cached_emoji_enabled = -1;
if (cached_emoji_enabled < 0) {

View File

@ -68,6 +68,8 @@ typedef enum {
const char *special_glyph(SpecialGlyph code) _const_;
bool emoji_enabled(void);
const char* locale_variable_to_string(LocaleVariable i) _const_;
LocaleVariable locale_variable_from_string(const char *s) _pure_;