mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: deprecate realloc for ChibiOS build, so as to return error when used
This commit is contained in:
parent
decff33d6b
commit
cec3da0df1
|
@ -44,9 +44,10 @@ int printf(const char *fmt, ...);
|
|||
void *malloc(size_t size);
|
||||
void *calloc(size_t nmemb, size_t size);
|
||||
void free(void *ptr);
|
||||
|
||||
void *realloc(void* ptr, size_t size) __attribute__((deprecated));
|
||||
extern int (*vprintf_console_hook)(const char *fmt, va_list arg);
|
||||
|
||||
|
||||
#define L_tmpnam 32
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue