mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 06:45:35 +00:00
compel: Move memcpy/memcpy/etc stuff in
This is the difference between two commits criu-dev/b0f6f293/Unify own memcpy/memset/memcmp master/0367a1fe/Drop prefix from own memcpy/memset/memcmp that makes criu-dev after rebase on master with latter commit be the same as it was with former commit before rebase. Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
735ffc1d7e
commit
f233b86a02
@@ -21,8 +21,11 @@ extern void __std_printf(int fd, const char *format, ...);
|
||||
#define std_putchar(c) __std_putc(STDOUT_FILENO, c)
|
||||
|
||||
extern unsigned long std_strtoul(const char *nptr, char **endptr, int base);
|
||||
extern void *std_memcpy(void *to, const void *from, unsigned int n);
|
||||
extern int std_memcmp(const void *cs, const void *ct, size_t count);
|
||||
extern int std_strcmp(const char *cs, const char *ct);
|
||||
extern int std_strncmp(const char *cs, const char *ct, size_t n);
|
||||
|
||||
extern void *memcpy(void *dest, const void *src, size_t n);
|
||||
extern int memcmp(const void *s1, const void *s2, size_t n);
|
||||
extern void *memset(void *s, int c, size_t n);
|
||||
|
||||
#endif /* COMPEL_PLUGIN_STD_STRING_H__ */
|
||||
|
Reference in New Issue
Block a user