diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-10-12 02:36:20 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-12 04:13:44 (GMT) |
commit | 9b4b8feb962f4b3e74768b7205f1f8f6cce87238 (patch) | |
tree | 7d7c95d9024d0d47ebb5f4299efc8d7ef00fa3ec /arch/powerpc/boot/string.h | |
parent | d0c3d534a4388a465101b634a95f2ec586415254 (diff) | |
download | linux-fsl-qoriq-9b4b8feb962f4b3e74768b7205f1f8f6cce87238.tar.xz |
[POWERPC] Add memchr() to the bootwrapper
This adds a memchr() implementation to the bootwrapper, which will
be needed when libfdt is merged in.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/string.h')
-rw-r--r-- | arch/powerpc/boot/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/boot/string.h b/arch/powerpc/boot/string.h index 4650030..50091cc 100644 --- a/arch/powerpc/boot/string.h +++ b/arch/powerpc/boot/string.h @@ -14,6 +14,7 @@ extern size_t strnlen(const char *s, size_t count); extern void *memset(void *s, int c, size_t n); extern void *memmove(void *dest, const void *src, unsigned long n); extern void *memcpy(void *dest, const void *src, unsigned long n); +extern void *memchr(const void *s, int c, size_t n); extern int memcmp(const void *s1, const void *s2, size_t n); #endif /* _PPC_BOOT_STRING_H_ */ |