Commit f80378d1 f80378d119cedeb90081b9f70c1bfae4cbecac2a by Sergey Poznyakoff

Provide declarations for (v)asprintf.

1 parent d8b36a08
......@@ -26,10 +26,18 @@
#endif /*__P */
#include <stdarg.h>
#include <stdio.h>
extern int mu_vasprintf __P ((char **result, const char *format, va_list * args));
extern int mu_asprintf __P ((char **result, const char *format, ...));
#if !HAVE_DECL_VASPRINTF
extern int vasprintf __P((char **result, const char *format, va_list args));
#endif
#if !HAVE_DECL_ASPRINTF
#if __STDC__
extern int asprintf __P((char **result, const char *format, ...));
#else
extern int asprintf ();
#endif
#endif
#endif
......