summaryrefslogtreecommitdiff
path: root/include/libintl.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 06:51:33 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 06:51:33 +0000
commit7e7bdbf94ca24efe3745f1cdc983f8161b0d2d03 (patch)
tree4a7b08956962f83b92664fd9cc9e41f661c56d4b /include/libintl.h
parentd3ad15ac54e0e8f66dec2957e57e6359932e44d7 (diff)
Sync w/ glibc
Diffstat (limited to 'include/libintl.h')
-rw-r--r--include/libintl.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/libintl.h b/include/libintl.h
index fd009c3d6..ba57f1698 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -1,5 +1,5 @@
/* Message catalogs for internationalization.
- Copyright (C) 1995-1999, 2000-2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1995-2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is derived from the file libgettext.h in the GNU gettext package.
@@ -42,22 +42,28 @@ __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;
+ __THROW __attribute_format_arg__ (2);
+#if 0 /* uClibc: disabled */
extern char *__dgettext (__const char *__domainname, __const char *__msgid)
__THROW __attribute_format_arg__ (2);
+#endif
/* 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);
+#if 0 /* uClibc: disabled */
extern char *__dcgettext (__const char *__domainname,
__const char *__msgid, int __category)
__THROW __attribute_format_arg__ (2);
+#endif
/* Similar to `gettext' but select the plural form corresponding to the