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:
parent
ca13432d60
commit
d54a45ad5f
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user