minor derivative to reduce compiler warnings and tag read-only parameters as const.
Fork of lwip by
Diff: core/memp.c
- Revision:
- 16:092c37b63ee8
- Parent:
- 15:c486879eba14
- Child:
- 17:335b94e0aa9c
diff -r c486879eba14 -r 092c37b63ee8 core/memp.c --- a/core/memp.c Thu Mar 20 15:45:43 2014 +0000 +++ b/core/memp.c Thu Apr 24 10:45:42 2014 +0100 @@ -168,7 +168,7 @@ #if defined(TARGET_LPC1768) # define ETHMEM_SECTION __attribute((section("AHBSRAM1"))) -#else +#elif defined(TARGET_LPC4088) || defined(TARGET_K64F) # define ETHMEM_SECTION #endif