aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--intl/libintl.h2
-rw-r--r--intl/loadinfo.h4
-rw-r--r--intl/ngettext.c2
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