diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-22 20:23:53 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-22 20:23:53 +0000 |
commit | 41dedaf51942a05a8e80dfac66f9066454ae43f8 (patch) | |
tree | f76c456e42e8491ce261b6215b7c36a5397e4e9a /include/asterisk | |
parent | 4f22c15a9080341cb5635c94bc7236ba710f374d (diff) |
Export symbols for functions included in our compatibility headers.
(closes issue #15556)
Reported by: smw1218
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@208083 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/compat.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index fa312d29b..d91ce4a1a 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 <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 |