X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flinux%2Fstring.h;h=9a8cbc24cdceeef5612dcdeca82fe788b3d33f56;hb=3ae6abb697b85516975443ca7eac44d18ed4c53f;hp=403ae982beb248e53356c8f16b5e4f5d3c5358cb;hpb=c3f9d4939af90eb8e30119601c86c05bde6c7345;p=u-boot diff --git a/include/linux/string.h b/include/linux/string.h index 403ae982be..9a8cbc24cd 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -38,7 +38,7 @@ extern int strcmp(const char *,const char *); #ifndef __HAVE_ARCH_STRNCMP extern int strncmp(const char *,const char *,__kernel_size_t); #endif -#ifndef __HAVE_ARCH_STRNICMP +#if 0 /* not used - was: #ifndef __HAVE_ARCH_STRNICMP */ extern int strnicmp(const char *, const char *, __kernel_size_t); #endif #ifndef __HAVE_ARCH_STRCHR @@ -47,6 +47,10 @@ extern char * strchr(const char *,int); #ifndef __HAVE_ARCH_STRRCHR extern char * strrchr(const char *,int); #endif +extern char * skip_spaces(const char *); + +extern char *strim(char *); + #ifndef __HAVE_ARCH_STRSTR extern char * strstr(const char *,const char *); #endif @@ -59,7 +63,7 @@ extern __kernel_size_t strnlen(const char *,__kernel_size_t); #ifndef __HAVE_ARCH_STRDUP extern char * strdup(const char *); #endif -#ifdef __HAVE_ARCH_STRSWAB +#ifndef __HAVE_ARCH_STRSWAB extern char * strswab(const char *); #endif