mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 05:43:23 -07:00
Fix gcc 10 link issues
- avoid linker error by providing string.[ch] in bootrom
This commit is contained in:
parent
555fa19773
commit
ad326d84ad
6 changed files with 137 additions and 6 deletions
|
@ -12,13 +12,12 @@
|
|||
#ifndef __STRING_H
|
||||
#define __STRING_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "util.h"
|
||||
#include <stddef.h>
|
||||
|
||||
RAMFUNC void *memcpy(void *dest, const void *src, size_t len);
|
||||
void *memcpy(void *dest, const void *src, size_t len);
|
||||
void *memset(void *dest, int c, size_t len);
|
||||
void *memmove(void *dest, const void *src, size_t len);
|
||||
RAMFUNC int memcmp(const void *av, const void *bv, size_t len);
|
||||
int memcmp(const void *av, const void *bv, size_t len);
|
||||
size_t strlen(const char *str);
|
||||
char *strncat(char *dest, const char *src, size_t n);
|
||||
char *strcat(char *dest, const char *src);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue