minor derivative to reduce compiler warnings and tag read-only parameters as const.
Fork of lwip by
Diff: core/memp.c
- Revision:
- 6:00bf89892c76
- Parent:
- 2:fcd6ac34b3f8
- Child:
- 10:42a34d63b218
--- a/core/memp.c Tue Jun 26 14:13:33 2012 +0000 +++ b/core/memp.c Mon Jul 23 11:52:35 2012 +0000 @@ -170,7 +170,7 @@ static u8_t memp_memory[MEM_ALIGNMENT - 1 #define LWIP_MEMPOOL(name,num,size,desc) + ( (num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size) ) ) #include "lwip/memp_std.h" -]__attribute((section("AHBSRAM1"))); +] __attribute((section("AHBSRAM1"))); #endif /* MEMP_SEPARATE_POOLS */