diff --git a/legacy/ecore/src/lib/ecore/Ecore_Str.h b/legacy/ecore/src/lib/ecore/Ecore_Str.h index 4e4e5bf5e7..906da083ae 100644 --- a/legacy/ecore/src/lib/ecore/Ecore_Str.h +++ b/legacy/ecore/src/lib/ecore/Ecore_Str.h @@ -41,6 +41,7 @@ extern "C" { /* strlcpy implementation for libc's lacking it */ EAPI size_t ecore_strlcpy(char *dst, const char *src, size_t siz); +EAPI size_t ecore_strlcat(char *dst, const char *src, size_t siz); EAPI int ecore_str_has_prefix(const char *str, const char *prefix); diff --git a/legacy/ecore/src/lib/ecore/ecore_str.c b/legacy/ecore/src/lib/ecore/ecore_str.c index 092e6e48d9..e58d903886 100644 --- a/legacy/ecore/src/lib/ecore/ecore_str.c +++ b/legacy/ecore/src/lib/ecore/ecore_str.c @@ -68,7 +68,7 @@ ecore_strlcpy(char *dst, const char *src, size_t siz) * If retval >= siz, truncation occurred. */ size_t -strlcat(char *dst, const char *src, size_t siz) +ecore_strlcat(char *dst, const char *src, size_t siz) { char *d = dst; const char *s = src;