From: Tilghman Lesher Date: Wed, 22 Jul 2009 20:23:53 +0000 (+0000) Subject: Export symbols for functions included in our compatibility headers. X-Git-Tag: 1.4.26.2~4^2~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98dcd8946ec33e92d5524222d724410f377efe37;p=thirdparty%2Fasterisk.git Export symbols for functions included in our compatibility headers. (closes issue #15556) Reported by: smw1218 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@208083 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index fa312d29b7..d91ce4a1ac 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -17,6 +17,7 @@ #define _COMPAT_H #include "asterisk/autoconfig.h" +#include "asterisk/compiler.h" #include #include #include @@ -62,11 +63,11 @@ int vasprintf(char **strp, const char *fmt, va_list ap); #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 diff --git a/main/asterisk.exports b/main/asterisk.exports index 64a57e331c..b503506068 100644 --- a/main/asterisk.exports +++ b/main/asterisk.exports @@ -28,6 +28,18 @@ devstate2str; manager_event; dialed_interface_info; + strsep; + setenv; + unsetenv; + strcasestr; + strnlen; + strndup; + vasprintf; + asprintf; + strtoq; + getloadavg; + strlcat; + strlcpy; local: *; };