diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-22 22:35:57 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-22 22:35:57 +0000 |
commit | 2546725deebaaaa82a1b01e459e0a7a8a21b9ca2 (patch) | |
tree | 2ecedc40211e59ebd624020adc09326506af951c /include/asterisk/compat.h | |
parent | 271c225a41e836459c778770e7d7264289267513 (diff) |
Merged revisions 208083 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r208083 | tilghman | 2009-07-22 15:23:53 -0500 (Wed, 22 Jul 2009) | 4 lines
Export symbols for functions included in our compatibility headers.
(closes issue #15556)
Reported by: smw1218
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208151 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 5be445e26..fac1079c8 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -113,13 +113,8 @@ int unsetenv(const char *name); int __attribute__((format(printf, 2, 0))) vasprintf(char **strp, const char *fmt, va_list ap); #endif -#ifndef HAVE_STRLCAT -size_t strlcat(char *dst, const char *src, size_t siz); -#endif - -#ifndef HAVE_STRLCPY -size_t strlcpy(char *dst, const char *src, size_t siz); -#endif +#define strlcat __use__ast_str__functions_not__strlcat__ +#define strlcpy __use__ast_copy_string__not__strlcpy__ #include <errno.h> |