aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-22 22:35:57 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-22 22:35:57 +0000
commit2546725deebaaaa82a1b01e459e0a7a8a21b9ca2 (patch)
tree2ecedc40211e59ebd624020adc09326506af951c /include/asterisk/compat.h
parent271c225a41e836459c778770e7d7264289267513 (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.h9
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>