Skip to content

Commit c25d932

Browse files
committed
fix warnings
1 parent 782ab61 commit c25d932

File tree

1 file changed

+2
-0
lines changed
  • libraries/Adafruit_LittleFS/src/littlefs

1 file changed

+2
-0
lines changed

libraries/Adafruit_LittleFS/src/littlefs/lfs_util.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ void lfs_crc(uint32_t *crc, const void *buffer, size_t size);
168168
// Allocate memory, only used if buffers are not provided to littlefs
169169
static inline void *lfs_malloc(size_t size) {
170170
#ifndef LFS_NO_MALLOC
171+
extern void *pvPortMalloc( size_t xWantedSize );
171172
return pvPortMalloc(size);
172173
#else
173174
(void)size;
@@ -178,6 +179,7 @@ static inline void *lfs_malloc(size_t size) {
178179
// Deallocate memory, only used if buffers are not provided to littlefs
179180
static inline void lfs_free(void *p) {
180181
#ifndef LFS_NO_MALLOC
182+
extern void vPortFree( void *pv );
181183
vPortFree(p);
182184
#else
183185
(void)p;

0 commit comments

Comments
 (0)