diff options
author | Andreas Jaeger <aj@suse.de> | 2000-04-27 03:11:22 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-04-27 03:11:22 +0000 |
commit | 9d9160ee911de8bdf97f51f26059585f96aee5eb (patch) | |
tree | 24a30e9ff288297b61aefe4e144ed7f8fe0aacc7 /intl | |
parent | d472655c75767d8a5956a01435f769c71db499b7 (diff) | |
download | glibc-9d9160ee911de8bdf97f51f26059585f96aee5eb.tar glibc-9d9160ee911de8bdf97f51f26059585f96aee5eb.tar.gz glibc-9d9160ee911de8bdf97f51f26059585f96aee5eb.tar.bz2 glibc-9d9160ee911de8bdf97f51f26059585f96aee5eb.zip |
2000-04-27 Bruno Haible <clisp.cons.org>
* intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
* intl/loadinfo.h (internal_function): Define if not already defined.
2000-04-27 Andreas Jaeger <aj@suse.de>
* intl/libintl.h: Fix typo, reported by Bruno Haible
<clisp.cons.org>.
Diffstat (limited to 'intl')
-rw-r--r-- | intl/libintl.h | 2 | ||||
-rw-r--r-- | intl/loadinfo.h | 4 | ||||
-rw-r--r-- | intl/ngettext.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/intl/libintl.h b/intl/libintl.h index 91e73265dc..0f147228df 100644 --- a/intl/libintl.h +++ b/intl/libintl.h @@ -60,7 +60,7 @@ extern char *dngettext (__const char *__domainname, __const char *__msgid1, __const char *__msgid2, unsigned long int __n) __THROW __attribute__ ((__format_arg__ (2))); -/* Similar to `dxgettext' but select the plural form corresponding to the +/* Similar to `dcgettext' but select the plural form corresponding to the number N. */ extern char *dcngettext (__const char *__domainname, __const char *__msgid1, __const char *__msgid2, unsigned long int __n, diff --git a/intl/loadinfo.h b/intl/loadinfo.h index 009abcc620..585ed11c5e 100644 --- a/intl/loadinfo.h +++ b/intl/loadinfo.h @@ -28,6 +28,10 @@ # endif #endif +#ifndef internal_function +# define internal_function +#endif + /* Encoding of locale name parts. */ #define CEN_REVISION 1 #define CEN_SPONSOR 2 diff --git a/intl/ngettext.c b/intl/ngettext.c index 1addf87752..5340732046 100644 --- a/intl/ngettext.c +++ b/intl/ngettext.c @@ -55,7 +55,7 @@ # define NGETTEXT __ngettext # define DCNGETTEXT __dcngettext #else -# define NGETTEXT gettext__ +# define NGETTEXT ngettext__ # define DCNGETTEXT dcngettext__ #endif |