aboutsummaryrefslogtreecommitdiff
path: root/src/lib/string/compat_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/string/compat_string.h')
-rw-r--r--src/lib/string/compat_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/string/compat_string.h b/src/lib/string/compat_string.h
index 0a4ce01755..34490bce07 100644
--- a/src/lib/string/compat_string.h
+++ b/src/lib/string/compat_string.h
@@ -41,10 +41,10 @@ static inline int strcasecmp(const char *a, const char *b, size_t n) {
#endif /* defined __APPLE__ */
#ifndef HAVE_STRLCAT
-size_t strlcat(char *dst, const char *src, size_t siz) ATTR_NONNULL((1,2));
+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) ATTR_NONNULL((1,2));
+size_t strlcpy(char *dst, const char *src, size_t siz);
#endif
char *tor_strtok_r_impl(char *str, const char *sep, char **lasts);