summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/funcs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/funcs.h')
-rw-r--r--sys/lib/libkern/funcs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/lib/libkern/funcs.h b/sys/lib/libkern/funcs.h
index 9312dfb7d8a..b2cd0692f53 100644
--- a/sys/lib/libkern/funcs.h
+++ b/sys/lib/libkern/funcs.h
@@ -1,2 +1,4 @@
-size_t strlcpy(char *, const char *, int);
-size_t strlcat(char *, const char *, int);
+size_t strlcpy(char *, const char *, int)
+ __attribute__ ((__bounded__(__string__,1,3)));
+size_t strlcat(char *, const char *, int)
+ __attribute__ ((__bounded__(__string__,1,3)));