mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Update.
* intl/libintl.h: Add format_arg attributes to declarations of new functions.
This commit is contained in:
parent
abbffdf981
commit
964328be73
@ -1,5 +1,8 @@
|
|||||||
2000-01-21 Ulrich Drepper <drepper@cygnus.com>
|
2000-01-21 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* intl/libintl.h: Add format_arg attributes to declarations of new
|
||||||
|
functions.
|
||||||
|
|
||||||
* intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
|
* intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
|
||||||
ngettext, and plural.
|
ngettext, and plural.
|
||||||
(distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
|
(distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
|
||||||
|
@ -54,18 +54,21 @@ extern char *__dcgettext (__const char *__domainname,
|
|||||||
/* Similar to `gettext' but select the plural form corresponding to the
|
/* Similar to `gettext' but select the plural form corresponding to the
|
||||||
number N. */
|
number N. */
|
||||||
extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
|
extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
|
||||||
unsigned long int __n) __THROW;
|
unsigned long int __n)
|
||||||
|
__THROW __attribute__ ((__format_arg__ (1)));
|
||||||
|
|
||||||
/* Similar to `dgettext' but select the plural form corresponding to the
|
/* Similar to `dgettext' but select the plural form corresponding to the
|
||||||
number N. */
|
number N. */
|
||||||
extern char *dngettext (__const char *__domainname, __const char *__msgid1,
|
extern char *dngettext (__const char *__domainname, __const char *__msgid1,
|
||||||
__const char *__msgid2, unsigned long int __n) __THROW;
|
__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 `dxgettext' but select the plural form corresponding to the
|
||||||
number N. */
|
number N. */
|
||||||
extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
|
extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
|
||||||
__const char *__msgid2, unsigned long int __n,
|
__const char *__msgid2, unsigned long int __n,
|
||||||
int __category) __THROW;
|
int __category)
|
||||||
|
__THROW __attribute__ ((__format_arg__ (2)));
|
||||||
|
|
||||||
|
|
||||||
/* Set the current default message catalog to DOMAINNAME.
|
/* Set the current default message catalog to DOMAINNAME.
|
||||||
|
Loading…
Reference in New Issue
Block a user