+2005-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * libiberty.h (vsnprintf): Add format attribute.
+
2005-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
/* Like vsprintf but provides a pointer to malloc'd storage, which
must be freed by the caller. */
-extern int vasprintf (char **, const char *, va_list)
- ATTRIBUTE_PRINTF(2,0);
+extern int vasprintf (char **, const char *, va_list) ATTRIBUTE_PRINTF(2,0);
#endif
#if defined(HAVE_DECL_SNPRINTF) && !HAVE_DECL_SNPRINTF
#if defined(HAVE_DECL_VSNPRINTF) && !HAVE_DECL_VSNPRINTF
/* Like vsprintf but prints at most N characters. */
-extern int vsnprintf (char *, size_t, const char *, va_list);
+extern int vsnprintf (char *, size_t, const char *, va_list) ATTRIBUTE_PRINTF(3,0);
#endif
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))