]> begriffs open source - freertos/commit
Declare vApplicationMallocFailedHook function in task.h instead in each C heap file...
authorpierrenoel-bouteville-act <74783364+pierrenoel-bouteville-act@users.noreply.github.com>
Wed, 13 Apr 2022 17:44:14 +0000 (19:44 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Apr 2022 17:44:14 +0000 (10:44 -0700)
commite73fabce9ab9d16e1cc818487d14e1c0e6379546
tree06489a98ec36e4740d1ed38843c37e94a197365b
parentb00250372eed15192a76186def3f275f7ca42020
Declare vApplicationMallocFailedHook function in task.h instead in each C heap file (#483)

vApplicationMallocFailedHook was declared in each Heap file. which forces users to declare it and can cause problems if the prototype of the function changes.

Co-authored-by: Pierre-Noel Bouteville <pnb990@gmail.com>
.github/lexicon.txt
include/portable.h
portable/MemMang/heap_1.c
portable/MemMang/heap_2.c
portable/MemMang/heap_3.c
portable/MemMang/heap_4.c
portable/MemMang/heap_5.c