modules: fatfs: fix build warnings
Adds a missing include to avoid these warnings : - zephyr/modules/fatfs/zfs_ffsystem.c:19:16: warning: implicit declaration of function 'k_malloc'; did you mean 'ff_memalloc'? [-Wimplicit-function-declaration] - zephyr/modules/fatfs/zfs_ffsystem.c:19:16: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] - zephyr/modules/fatfs/zfs_ffsystem.c:25:9: warning: implicit declaration of function 'k_free' [-Wimplicit-function-declaration] Signed-off-by: Johan Lafon <johan.lafon@syslinbit.com>
This commit is contained in:
parent
24ad40a7f2
commit
6f0bf76086
|
@ -10,6 +10,8 @@
|
|||
* https://github.com/zephyrproject-rtos/fatfs/blob/master/option/ffsystem.c
|
||||
*/
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
#include <ff.h>
|
||||
|
||||
#if FF_USE_LFN == 3 /* Dynamic memory allocation */
|
||||
|
|
Loading…
Reference in a new issue