diff options
author | Andreas Jaeger <aj@suse.de> | 2000-05-08 15:57:36 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-05-08 15:57:36 +0000 |
commit | fbd61fc16fd20dfd5d4db3cc305a7b512074575e (patch) | |
tree | 55e3e5be8d85c5e432eda853ebf786f2672f0d1b | |
parent | 470175f1b9f61c12753f8847479e477b1b03d541 (diff) | |
download | glibc-fbd61fc16fd20dfd5d4db3cc305a7b512074575e.tar glibc-fbd61fc16fd20dfd5d4db3cc305a7b512074575e.tar.gz glibc-fbd61fc16fd20dfd5d4db3cc305a7b512074575e.tar.bz2 glibc-fbd61fc16fd20dfd5d4db3cc305a7b512074575e.zip |
Update.
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | include/libintl.h | 2 | ||||
-rw-r--r-- | intl/bindtextdom.c | 4 |
3 files changed, 12 insertions, 0 deletions
@@ -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 |