summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/string.h')
-rw-r--r--payloads/libpayload/include/string.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/payloads/libpayload/include/string.h b/payloads/libpayload/include/string.h
index 88054e017b..9e4f791a7d 100644
--- a/payloads/libpayload/include/string.h
+++ b/payloads/libpayload/include/string.h
@@ -55,7 +55,6 @@ int strncasecmp(const char *s1, const char *s2, size_t maxlen);
char *strncpy(char *d, const char *s, size_t n);
char *strcpy(char *d, const char *s);
char *strncat(char *d, const char *s, size_t n);
-size_t strlcat(char *d, const char *s, size_t n);
char *strcat(char *d, const char *s);
char *strchr(const char *s, int c);
char *strrchr(const char *s, int c);
@@ -68,4 +67,13 @@ char* strtok(char *str, const char *delim);
char* strtok_r(char *str, const char *delim, char **ptr);
/** @} */
+/**
+ * @defgroup string OpenBSD based safe string functions
+ * @{
+ */
+size_t strlcpy(char *d, const char *s, size_t n);
+size_t strlcat(char *d, const char *s, size_t n);
+/** @} */
+
+
#endif