X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Flinux%2Fstring.h;h=c7047ba0bca6a8bd191013eae45aea7307b71552;hb=f37a3043cbbda8e084798a217d6f0c1ebe6e26b0;hp=96348d617fca34c4abfbf00759a84b8178d8aae9;hpb=674ca84d11391cd2e7faf8f638fc25ed4b782a91;p=karo-tx-uboot.git diff --git a/include/linux/string.h b/include/linux/string.h index 96348d617f..c7047ba0bc 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -30,6 +30,9 @@ extern char * strcpy(char *,const char *); #ifndef __HAVE_ARCH_STRNCPY extern char * strncpy(char *,const char *, __kernel_size_t); #endif +#ifndef __HAVE_ARCH_STRLCPY +size_t strlcpy(char *, const char *, size_t); +#endif #ifndef __HAVE_ARCH_STRCAT extern char * strcat(char *, const char *); #endif