summary refs log tree commit diff
path: root/intl/libintl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-22 07:40:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-22 07:40:14 +0000
commit964328be731fc2b0fd9d5f4cc983bc76163d8585 (patch)
tree31c6c0a874c0cf36d5ca0c57d66bc3dfe1128fca /intl/libintl.h
parentabbffdf981c8bb03312024107715d58902914f11 (diff)
downloadglibc-964328be731fc2b0fd9d5f4cc983bc76163d8585.tar.gz
glibc-964328be731fc2b0fd9d5f4cc983bc76163d8585.tar.xz
glibc-964328be731fc2b0fd9d5f4cc983bc76163d8585.zip
Update.
	* intl/libintl.h: Add format_arg attributes to declarations of new
	functions.
Diffstat (limited to 'intl/libintl.h')
-rw-r--r--intl/libintl.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/intl/libintl.h b/intl/libintl.h
index 5ac716b75c..a301dc5407 100644
--- a/intl/libintl.h
+++ b/intl/libintl.h
@@ -54,18 +54,21 @@ extern char *__dcgettext (__const char *__domainname,
 /* 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;
+		       unsigned long int __n)
+     __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;
+			__const char *__msgid2, unsigned long int __n)
+     __THROW __attribute__ ((__format_arg__ (2)));
 
 /* Similar to `dxgettext' 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;
+			 int __category)
+     __THROW __attribute__ ((__format_arg__ (2)));
 
 
 /* Set the current default message catalog to DOMAINNAME.