From f369623d6d7af1f7cddfa7bcda413b88107db2e6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 24 Jul 2001 22:16:09 +0000 Subject: Update. 2001-07-22 Bruno Haible * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 and msgid2 for printf format argument checking. --- intl/libintl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'intl') diff --git a/intl/libintl.h b/intl/libintl.h index dd69ec2..95eb900 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. -- cgit v1.1