[asterisk-commits] trunk r22526 - /trunk/include/asterisk/strings.h
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Apr 26 06:18:33 MST 2006
Author: russell
Date: Wed Apr 26 08:18:32 2006
New Revision: 22526
URL: http://svn.digium.com/view/asterisk?rev=22526&view=rev
Log:
add the missing prototype for the included asprintf
Modified:
trunk/include/asterisk/strings.h
Modified: trunk/include/asterisk/strings.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/strings.h?rev=22526&r1=22525&r2=22526&view=diff
==============================================================================
--- trunk/include/asterisk/strings.h (original)
+++ trunk/include/asterisk/strings.h Wed Apr 26 08:18:32 2006
@@ -272,6 +272,10 @@
int vasprintf(char **strp, const char *fmt, va_list ap);
#endif
+#if !defined(HAVE_ASPRINTF) && !defined(__AST_DEBUG_MALLOC)
+int asprintf(char **str, const char *fmt, ...);
+#endif
+
#ifndef HAVE_STRTOQ
uint64_t strtoq(const char *nptr, char **endptr, int base);
#endif
More information about the asterisk-commits
mailing list