diff options
author | Damien George <damien.p.george@gmail.com> | 2017-08-31 17:00:14 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-31 17:00:14 +1000 |
commit | ca21aed0a11903db04fc96056f8a08e452aaf504 (patch) | |
tree | e413e96931940e7ca0736de4c62ac109f4435fe0 /py/misc.h | |
parent | 6c9fca2aa911e31f6c1b48d3b950b4dc058473d4 (diff) |
py: Make m_malloc_fail() have void return type, since it doesn't return.
Diffstat (limited to 'py/misc.h')
-rw-r--r-- | py/misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ void *m_realloc(void *ptr, size_t new_num_bytes); void *m_realloc_maybe(void *ptr, size_t new_num_bytes, bool allow_move); void m_free(void *ptr); #endif -NORETURN void *m_malloc_fail(size_t num_bytes); +NORETURN void m_malloc_fail(size_t num_bytes); #if MICROPY_MEM_STATS size_t m_get_total_bytes_allocated(void); |