summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--include/libintl.h2
-rw-r--r--intl/bindtextdom.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b454fb5109..f7e5a488d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-08  Andreas Jaeger  <aj@suse.de>
+
+	* include/libintl.h: Add prototype for __bind_textdomain_codeset.
+
+	* intl/bindtextdom.c (set_binding_values): Add prototype.
+
 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
 
 	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
diff --git a/include/libintl.h b/include/libintl.h
index 3d1d7c90ee..2da639d40d 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -10,6 +10,8 @@ extern char *__dcgettext (__const char *__domainname,
 extern char *__textdomain (__const char *__domainname);
 extern char *__bindtextdomain (__const char *__domainname,
 			       __const char *__dirname);
+extern char *__bind_textdomain_codeset (__const char *__domainname,
+					__const char *__codeset);
 extern const char _libc_intl_domainname[];
 
 /* Define the macros `_' and `N_' for conveniently marking translatable
diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c
index 3d49344aaf..4ea368da00 100644
--- a/intl/bindtextdom.c
+++ b/intl/bindtextdom.c
@@ -84,6 +84,10 @@ __libc_rwlock_define (extern, _nl_state_lock)
 # define BIND_TEXTDOMAIN_CODESET bind_textdomain_codeset__
 #endif
 
+/* Prototypes for local functions.  */
+static void set_binding_values (const char *domainname, const char **dirnamep,
+				const char **codesetp);
+     
 /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP
    to be used for the DOMAINNAME message catalog.
    If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not