summaryrefslogtreecommitdiffstats
path: root/intl/intl-compat.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2000-06-16 18:48:22 +0000
committerBruno Haible <bruno@clisp.org>2000-06-16 18:48:22 +0000
commitd734a4c1fd58bc7522aa2ec8736526f69bfdb539 (patch)
tree613396ae4305cb86386383c84d18c8b91356a4ec /intl/intl-compat.c
parent9e638edc87d705d6b24e402a292e7d0dee9d297f (diff)
downloadexternal_gettext-d734a4c1fd58bc7522aa2ec8736526f69bfdb539.zip
external_gettext-d734a4c1fd58bc7522aa2ec8736526f69bfdb539.tar.gz
external_gettext-d734a4c1fd58bc7522aa2ec8736526f69bfdb539.tar.bz2
Keep in sync with new bind_textdomain_codeset function in libintl.glibc.
Diffstat (limited to 'intl/intl-compat.c')
-rw-r--r--intl/intl-compat.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/intl/intl-compat.c b/intl/intl-compat.c
index 503efa0..c6aeb46 100644
--- a/intl/intl-compat.c
+++ b/intl/intl-compat.c
@@ -1,6 +1,6 @@
/* intl-compat.c - Stub functions to call gettext functions from GNU gettext
Library.
- Copyright (C) 1995 Software Foundation, Inc.
+ Copyright (C) 1995, 2000 Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -30,6 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#undef dcgettext
#undef textdomain
#undef bindtextdomain
+#undef bind_textdomain_codeset
char *
@@ -42,6 +43,15 @@ bindtextdomain (domainname, dirname)
char *
+bind_textdomain_codeset (domainname, codeset)
+ const char *domainname;
+ const char *codeset;
+{
+ return bind_textdomain_codeset__ (domainname, codeset);
+}
+
+
+char *
dcgettext (domainname, msgid, category)
const char *domainname;
const char *msgid;