Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
[linux-2.6-block.git] / arch / powerpc / boot / string.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
decd300b
OH
2#ifndef _PPC_BOOT_STRING_H_
3#define _PPC_BOOT_STRING_H_
8afe31c9 4#include <stddef.h>
decd300b
OH
5
6extern char *strcpy(char *dest, const char *src);
7extern char *strncpy(char *dest, const char *src, size_t n);
8extern char *strcat(char *dest, const char *src);
0ae0b545 9extern char *strchr(const char *s, int c);
a54b81ea 10extern char *strrchr(const char *s, int c);
decd300b 11extern int strcmp(const char *s1, const char *s2);
0ae0b545 12extern int strncmp(const char *s1, const char *s2, size_t n);
decd300b
OH
13extern size_t strlen(const char *s);
14extern size_t strnlen(const char *s, size_t count);
15
16extern void *memset(void *s, int c, size_t n);
17extern void *memmove(void *dest, const void *src, unsigned long n);
18extern void *memcpy(void *dest, const void *src, unsigned long n);
9b4b8feb 19extern void *memchr(const void *s, int c, size_t n);
decd300b
OH
20extern int memcmp(const void *s1, const void *s2, size_t n);
21
22#endif /* _PPC_BOOT_STRING_H_ */