[asterisk-commits] tilghman: branch 1.4 r210065 - in /branches/1.4: include/asterisk/ main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 3 10:42:14 CDT 2009


Author: tilghman
Date: Mon Aug  3 10:42:10 2009
New Revision: 210065

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=210065
Log:
Helps if we export the index() function.
(Related to issue #15639)

Modified:
    branches/1.4/include/asterisk/compat.h
    branches/1.4/main/asterisk.exports

Modified: branches/1.4/include/asterisk/compat.h
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/include/asterisk/compat.h?view=diff&rev=210065&r1=210064&r2=210065
==============================================================================
--- branches/1.4/include/asterisk/compat.h (original)
+++ branches/1.4/include/asterisk/compat.h Mon Aug  3 10:42:10 2009
@@ -48,6 +48,10 @@
 
 #ifndef HAVE_STRSEP
 char* strsep(char** str, const char* delims);
+#endif
+
+#ifndef HAVE_INDEX
+char *index(const char *haystack, int needle);
 #endif
 
 #ifndef HAVE_STRTOQ

Modified: branches/1.4/main/asterisk.exports
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/asterisk.exports?view=diff&rev=210065&r1=210064&r2=210065
==============================================================================
--- branches/1.4/main/asterisk.exports (original)
+++ branches/1.4/main/asterisk.exports Mon Aug  3 10:42:10 2009
@@ -40,6 +40,7 @@
 		getloadavg;
 		strlcat;
 		strlcpy;
+		index;
 	local:
 		*;
 };




More information about the asterisk-commits mailing list