Skip to content

Commit 90502d3

Browse files
committed
Merge pull request #1395 from me-no-dev/master
fix bad (recently changed) function signatures in lwip
2 parents c61587f + c6d8e25 commit 90502d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP8266WiFi/src/lwip/mem_manager.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ static const unsigned short heapSTRUCT_SIZE = ( sizeof( xBlockLink ) + portBYTE_
6969

7070
void vApplicationMallocFailedHook( void ) ;//ICACHE_FLASH_ATTR;
7171

72-
void *pvPortMalloc( size_t xWantedSize ) ;//ICACHE_FLASH_ATTR;
72+
void *pvPortMalloc( size_t xWantedSize, const char* file, int line ) __attribute__((malloc, alloc_size(1)));//ICACHE_FLASH_ATTR;
7373

74-
void vPortFree( void *pv ) ;//ICACHE_FLASH_ATTR;
74+
void vPortFree( void *pv, const char* file, int line ) ;//ICACHE_FLASH_ATTR;
7575

7676
size_t xPortGetFreeHeapSize( void ) ;//ICACHE_FLASH_ATTR;
7777

0 commit comments

Comments
 (0)