diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-13 09:08:08 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-13 09:08:08 +0000 |
commit | 40b7c065b1694d257b180d0d49bd987c67c26500 (patch) | |
tree | f269a363dca54f4baca47611454cf1bc6eb33ce8 /libintl | |
parent | 4cca91e9f0b67a157292bbd3763418f93bb1db6d (diff) |
Remove __x
Diffstat (limited to 'libintl')
-rw-r--r-- | libintl/intl.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/libintl/intl.c b/libintl/intl.c index 5da20b397..e42a999cb 100644 --- a/libintl/intl.c +++ b/libintl/intl.c @@ -30,26 +30,22 @@ char *gettext(const char *msgid) /**********************************************************************/ #ifdef L_dgettext -char *__dgettext(const char *domainname, +char *dgettext(const char *domainname, const char *msgid) { return (char *) msgid; } -strong_alias(__dgettext, dgettext) - #endif /**********************************************************************/ #ifdef L_dcgettext -char *__dcgettext(const char *domainname, +char *dcgettext(const char *domainname, const char *msgid, int category) { return (char *) msgid; } -strong_alias(__dcgettext, dcgettext) - #endif /**********************************************************************/ #ifdef L_ngettext @@ -85,7 +81,7 @@ char *dcngettext(const char *domainname, const char *msgid1, /**********************************************************************/ #ifdef L_textdomain -char *__textdomain(const char *domainname) +char *textdomain(const char *domainname) { static const char default_str[] = "messages"; @@ -96,13 +92,11 @@ char *__textdomain(const char *domainname) return (char *) default_str; } -strong_alias(__textdomain, textdomain) - #endif /**********************************************************************/ #ifdef L_bindtextdomain -char *__bindtextdomain(const char *domainname, const char *dirname) +char *bindtextdomain(const char *domainname, const char *dirname) { static const char dir[] = "/"; @@ -122,16 +116,13 @@ char *__bindtextdomain(const char *domainname, const char *dirname) return (char *) dir; } -strong_alias(__bindtextdomain, bindtextdomain) - #endif /**********************************************************************/ #ifdef L_bind_textdomain_codeset /* Specify the character encoding in which the messages from the DOMAINNAME message catalog will be returned. */ -char *bind_textdomain_codeset(const char *domainname, - const char *codeset) +char *bind_textdomain_codeset(const char *domainname, const char *codeset) { if (!domainname || !*domainname || codeset) { __set_errno(EINVAL); @@ -145,6 +136,7 @@ char *bind_textdomain_codeset(const char *domainname, /* glibc-ism */ +const char *_nl_expand_alias(const char * name); const char *_nl_expand_alias(const char * name) { return NULL; /* uClibc does not support locale aliases. */ |