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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 22 15:23:57 CDT 2009


Author: tilghman
Date: Wed Jul 22 15:23:53 2009
New Revision: 208083

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=208083
Log:
Export symbols for functions included in our compatibility headers.
(closes issue #15556)
 Reported by: smw1218

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=208083&r1=208082&r2=208083
==============================================================================
--- branches/1.4/include/asterisk/compat.h (original)
+++ branches/1.4/include/asterisk/compat.h Wed Jul 22 15:23:53 2009
@@ -17,6 +17,7 @@
 #define _COMPAT_H
 
 #include "asterisk/autoconfig.h"
+#include "asterisk/compiler.h"
 #include <inttypes.h>
 #include <sys/types.h>
 #include <stdarg.h>
@@ -62,11 +63,11 @@
 #endif
 
 #ifndef HAVE_STRLCAT
-size_t strlcat(char *dst, const char *src, size_t siz);
+size_t strlcat(char *dst, const char *src, size_t siz) attribute_deprecated;
 #endif
 
 #ifndef HAVE_STRLCPY
-size_t strlcpy(char *dst, const char *src, size_t siz);
+size_t strlcpy(char *dst, const char *src, size_t siz) attribute_deprecated;
 #endif
 
 #ifdef SOLARIS

Modified: branches/1.4/main/asterisk.exports
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/asterisk.exports?view=diff&rev=208083&r1=208082&r2=208083
==============================================================================
--- branches/1.4/main/asterisk.exports (original)
+++ branches/1.4/main/asterisk.exports Wed Jul 22 15:23:53 2009
@@ -28,6 +28,18 @@
 		devstate2str;
 		manager_event;
 		dialed_interface_info;
+		strsep;
+		setenv;
+		unsetenv;
+		strcasestr;
+		strnlen;
+		strndup;
+		vasprintf;
+		asprintf;
+		strtoq;
+		getloadavg;
+		strlcat;
+		strlcpy;
 	local:
 		*;
 };




More information about the asterisk-commits mailing list