works for k64f

Fork of lwip-eth by mbed official

Revision:
21:10cdd9fe0509
Parent:
20:620d381e7f4c
Child:
31:da93f0f73711
--- a/arch/TARGET_Freescale/k64f_emac_config.h	Mon Sep 22 17:30:30 2014 +0100
+++ b/arch/TARGET_Freescale/k64f_emac_config.h	Mon Oct 13 07:15:17 2014 +0100
@@ -44,5 +44,15 @@
 
 #define ENET_ETH_MAX_FLEN             (1522) // recommended size for a VLAN frame
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+int phy_link_status(void);
+
+#if defined(__cplusplus)
+}
+#endif
+
 #endif // #define K64F_EMAC_CONFIG_H__