From fbd61fc16fd20dfd5d4db3cc305a7b512074575e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 8 May 2000 15:57:36 +0000 Subject: [PATCH] Update. 2000-05-08 Andreas Jaeger * include/libintl.h: Add prototype for __bind_textdomain_codeset. * intl/bindtextdom.c (set_binding_values): Add prototype. --- ChangeLog | 6 ++++++ include/libintl.h | 2 ++ intl/bindtextdom.c | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index b454fb5109..f7e5a488d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-05-08 Andreas Jaeger + + * include/libintl.h: Add prototype for __bind_textdomain_codeset. + + * intl/bindtextdom.c (set_binding_values): Add prototype. + 2000-05-08 Jakub Jelinek * 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