#endif /* win32? */
#endif /* no vsnprintf */
-#if !defined(__cplusplus) && (__GNUC__ > 2)
+#ifndef HAVE_VASPRINTF
+
extern int krb5int_vasprintf(char **, const char *, va_list)
- __attribute__((__format__(__printf__, 2, 0)));
+#if !defined(__cplusplus) && (__GNUC__ > 2)
+ __attribute__((__format__(__printf__, 2, 0)))
+#endif
+ ;
extern int krb5int_asprintf(char **, const char *, ...)
- __attribute__((__format__(__printf__, 2, 3)));
+#if !defined(__cplusplus) && (__GNUC__ > 2)
+ __attribute__((__format__(__printf__, 2, 3)))
#endif
-
-#ifndef HAVE_VASPRINTF
+ ;
#define vasprintf krb5int_vasprintf
/* Assume HAVE_ASPRINTF iff HAVE_VASPRINTF. */