diff options
author | DJ Delorie <dj@redhat.com> | 2005-06-02 03:05:03 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-06-02 03:05:03 +0000 |
commit | c2bd6e35d3a96182135ecb12cc64161b31fcfae6 (patch) | |
tree | 4b22421e846ed98f9bf2e2257204ea31dc25b6d7 /include/libiberty.h | |
parent | 4f0aa0180c80e2e7234cf454df82ab77ac9758e1 (diff) | |
download | gdb-c2bd6e35d3a96182135ecb12cc64161b31fcfae6.zip gdb-c2bd6e35d3a96182135ecb12cc64161b31fcfae6.tar.gz gdb-c2bd6e35d3a96182135ecb12cc64161b31fcfae6.tar.bz2 |
merge from gcc
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index 75cbedc..a9a75ea 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -527,8 +527,7 @@ extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; /* 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 @@ -538,7 +537,7 @@ extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3; #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])) |