1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-03 17:47:28 +03:00

locale-util: drop unused init_gettext()

The function has not been used since 96d9117ad2db7d8c13f7898127eee8939e88daf1.
This commit is contained in:
Yu Watanabe 2023-11-23 00:34:44 +09:00
parent ca13432d60
commit d54a45ad5f
2 changed files with 0 additions and 6 deletions

View File

@ -281,11 +281,6 @@ int locale_is_installed(const char *name) {
return true;
}
void init_gettext(void) {
setlocale(LC_ALL, "");
textdomain(GETTEXT_PACKAGE);
}
bool is_locale_utf8(void) {
static int cached_answer = -1;
const char *set;

View File

@ -35,7 +35,6 @@ int locale_is_installed(const char *name);
#define _(String) dgettext(GETTEXT_PACKAGE, String)
#define N_(String) String
void init_gettext(void);
bool is_locale_utf8(void);