bdk: util: replace strtol/atoi w/ custom versions

To get rid of reentrancy baggage (which is not needed) and save binary space
This commit is contained in:
CTCaer
2022-10-11 04:11:21 +03:00
parent d08fac5a08
commit 8bbe403e41
3 changed files with 97 additions and 0 deletions

View File

@@ -85,6 +85,8 @@ u8 bit_count(u32 val);
u32 bit_count_mask(u8 bits);
char *strcpy_ns(char *dst, char *src);
u64 sqrt64(u64 num);
long strtol(const char *nptr, char **endptr, register int base);
int atoi(const char *nptr);
void exec_cfg(u32 *base, const cfg_op_t *ops, u32 num_ops);
u32 crc32_calc(u32 crc, const u8 *buf, u32 len);