summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2012-07-05 12:22:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-07-05 20:58:54 +0200
commit7baead578db7e47aedfcd3a5a21a69b9f37630d1 (patch)
tree175a763e51abad3051eda1a65eefddb91024dd31 /include
parentc6e82ee5437618cf09c0955839b4a2b1b167cc4a (diff)
downloadbarebox-7baead578db7e47aedfcd3a5a21a69b9f37630d1.tar.gz
barebox-7baead578db7e47aedfcd3a5a21a69b9f37630d1.tar.xz
string: add strim for ONFI code
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 62d743ee5e..afd0aa6033 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -93,6 +93,9 @@ extern int memcmp(const void *,const void *,__kernel_size_t);
#ifndef __HAVE_ARCH_MEMCHR
extern void * memchr(const void *,int,__kernel_size_t);
#endif
+extern char * skip_spaces(const char *);
+
+extern char *strim(char *);
#ifdef __cplusplus
}