From ca8d5a5f3dea0f541fc3c388b6cb01a2d27e9924 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 2 Aug 2000 01:19:29 +0000 Subject: Update. * sysdeps/ia64/bits/byteswap.h: New file. Patch by Dan Pop . * misc/sys/cdefs.h: Define __attribute_format_arg__. * intl/libintl.h: Use it here instead of using __attribute__ directly. 2000-07-13 H.J. Lu * posix/regex.c (re_max_failures): Set to 4000. 2000-08-01 Ulrich Drepper --- intl/libintl.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'intl') diff --git a/intl/libintl.h b/intl/libintl.h index 967a8cafcd..70a4706021 100644 --- a/intl/libintl.h +++ b/intl/libintl.h @@ -31,41 +31,44 @@ __BEGIN_DECLS /* Look up MSGID in the current default message catalog for the current LC_MESSAGES locale. If not found, returns MSGID itself (the default text). */ -extern char *gettext (__const char *__msgid) __THROW; +extern char *gettext (__const char *__msgid) + __THROW __attribute_format_arg__ (1); /* Look up MSGID in the DOMAINNAME message catalog for the current LC_MESSAGES locale. */ -extern char *dgettext (__const char *__domainname, - __const char *__msgid) __THROW; -extern char *__dgettext (__const char *__domainname, - __const char *__msgid) __THROW; +extern char *dgettext (__const char *__domainname, __const char *__msgid) + __THROW __attribute_format_arg__ (2); +extern char *__dgettext (__const char *__domainname, __const char *__msgid) + __THROW __attribute_format_arg__ (2); /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. */ extern char *dcgettext (__const char *__domainname, - __const char *__msgid, int __category) __THROW; + __const char *__msgid, int __category) + __THROW __attribute_format_arg__ (2); extern char *__dcgettext (__const char *__domainname, - __const char *__msgid, int __category) __THROW; + __const char *__msgid, int __category) + __THROW __attribute_format_arg__ (2); /* Similar to `gettext' but select the plural form corresponding to the 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); /* 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); /* 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); /* Set the current default message catalog to DOMAINNAME. -- cgit v1.2.3