summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/texinfo/intl/dngettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/texinfo/intl/dngettext.c')
-rw-r--r--gnu/usr.bin/texinfo/intl/dngettext.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/gnu/usr.bin/texinfo/intl/dngettext.c b/gnu/usr.bin/texinfo/intl/dngettext.c
index f214e95b471..7815637f045 100644
--- a/gnu/usr.bin/texinfo/intl/dngettext.c
+++ b/gnu/usr.bin/texinfo/intl/dngettext.c
@@ -1,5 +1,5 @@
/* Implementation of the dngettext(3) function.
- Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
@@ -20,9 +20,10 @@
# include <config.h>
#endif
+#include "gettextP.h"
+
#include <locale.h>
-#include "gettextP.h"
#ifdef _LIBC
# include <libintl.h>
#else
@@ -39,18 +40,15 @@
# define DNGETTEXT __dngettext
# define DCNGETTEXT __dcngettext
#else
-# define DNGETTEXT dngettext__
-# define DCNGETTEXT dcngettext__
+# define DNGETTEXT libintl_dngettext
+# define DCNGETTEXT libintl_dcngettext
#endif
/* Look up MSGID in the DOMAINNAME message catalog of the current
LC_MESSAGES locale and skip message according to the plural form. */
char *
-DNGETTEXT (domainname, msgid1, msgid2, n)
- const char *domainname;
- const char *msgid1;
- const char *msgid2;
- unsigned long int n;
+DNGETTEXT (const char *domainname,
+ const char *msgid1, const char *msgid2, unsigned long int n)
{
return DCNGETTEXT (domainname, msgid1, msgid2, n, LC_MESSAGES);
}