summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-07-22 22:35:57 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-07-22 22:35:57 +0000
commitd223e3636f240ca8bf78563d804e9a6e830e1427 (patch)
tree2ecedc40211e59ebd624020adc09326506af951c /include
parentd009896670e102f55e6dda011c14a83847684e1f (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: https://origsvn.digium.com/svn/asterisk/trunk@208151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-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>