aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/compat.h5
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