aboutsummaryrefslogtreecommitdiff
path: root/src/lib/string/compat_string.h
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-07-03 12:33:09 +0300
committerrl1987 <rl1987@sdf.lonestar.org>2018-07-03 12:33:09 +0300
commitfedb3e46ec39e2e980eb1ae25138e9e0b310d084 (patch)
tree67afd8e9fb365c4ca4bc8fd62ba0a3f60ac2ac39 /src/lib/string/compat_string.h
parenta9628c0c0b2cc5c0286c4e49591b3b18dc054e87 (diff)
downloadtor-fedb3e46ec39e2e980eb1ae25138e9e0b310d084.tar.gz
tor-fedb3e46ec39e2e980eb1ae25138e9e0b310d084.zip
Remove ATTR_NONNULL macro
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);