summaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-24 22:16:09 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-24 22:16:09 +0000
commitf369623d6d7af1f7cddfa7bcda413b88107db2e6 (patch)
tree73473a65cf454c625a71426eaadf42ef5fd1b075 /intl
parent0db597422f2e5aa5a15342b95b56a0c1247af27f (diff)
Update.
2001-07-22 Bruno Haible <haible@clisp.cons.org> * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 and msgid2 for printf format argument checking.
Diffstat (limited to 'intl')
-rw-r--r--intl/libintl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/libintl.h b/intl/libintl.h
index dd69ec20a8..95eb90015e 100644
--- a/intl/libintl.h
+++ b/intl/libintl.h
@@ -54,20 +54,20 @@ extern char *__dcgettext (__const char *__domainname,
number N. */
extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
unsigned long int __n)
- __THROW __attribute_format_arg__ (1);
+ __THROW __attribute_format_arg__ (1) __attribute_format_arg__ (2);
/* Similar to `dgettext' but select the plural form corresponding to the
number N. */
extern char *dngettext (__const char *__domainname, __const char *__msgid1,
__const char *__msgid2, unsigned long int __n)
- __THROW __attribute_format_arg__ (2);
+ __THROW __attribute_format_arg__ (2) __attribute_format_arg__ (3);
/* 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,
int __category)
- __THROW __attribute_format_arg__ (2);
+ __THROW __attribute_format_arg__ (2) __attribute_format_arg__ (3);
/* Set the current default message catalog to DOMAINNAME.