]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Export symbols for functions included in our compatibility headers.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 22 Jul 2009 20:23:53 +0000 (20:23 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 22 Jul 2009 20:23:53 +0000 (20:23 +0000)
(closes issue #15556)
 Reported by: smw1218

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@208083 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/compat.h
main/asterisk.exports

index fa312d29b7a5949d9d030086ce4a67285ac236f7..d91ce4a1ac17784aab32d0aea1f66fedbd86618c 100644 (file)
@@ -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 @@ 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
index 64a57e331cd4458faa98a1c223b5f28d05e55ef9..b50350606869b6c68f59483dae8b6161fe081072 100644 (file)
                devstate2str;
                manager_event;
                dialed_interface_info;
+               strsep;
+               setenv;
+               unsetenv;
+               strcasestr;
+               strnlen;
+               strndup;
+               vasprintf;
+               asprintf;
+               strtoq;
+               getloadavg;
+               strlcat;
+               strlcpy;
        local:
                *;
 };