From: Andreas Jaeger Date: Thu, 27 Apr 2000 03:11:22 +0000 (+0000) Subject: 2000-04-27 Bruno Haible X-Git-Tag: upstream/2.20~18742 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d9160ee911de8bdf97f51f26059585f96aee5eb;p=platform%2Fupstream%2Flinaro-glibc.git 2000-04-27 Bruno Haible * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. * intl/loadinfo.h (internal_function): Define if not already defined. 2000-04-27 Andreas Jaeger * intl/libintl.h: Fix typo, reported by Bruno Haible . --- diff --git a/intl/libintl.h b/intl/libintl.h index 91e7326..0f14722 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 009abcc..585ed11 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 1addf87..5340732 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