minor derivative to reduce compiler warnings and tag read-only parameters as const.

Dependents:   EthernetInterface

Fork of lwip by mbed official

Revision:
16:092c37b63ee8
Parent:
15:c486879eba14
Child:
17:335b94e0aa9c
--- 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