Skip to content

Commit f8b682c

Browse files
committed
lwip-interface: fix issue #2993
DEVICE_ are passed as command line -D, thus no inclusion is required. ``platform.h`` is C++ header file, should not be pulled in C files
1 parent f5fb485 commit f8b682c

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

features/FEATURE_LWIP/lwip-interface/emac_lwip.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include "platform.h"
18-
1917
#if DEVICE_EMAC
2018

2119
#include "emac_api.h"

features/FEATURE_LWIP/lwip-interface/emac_stack_lwip.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include "platform.h"
18-
1917
#if DEVICE_EMAC
2018

2119
#include "emac_stack_mem.h"

features/netsocket/emac_stack_mem.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
#ifndef MBED_EMAC_STACK_MEM_H
1717
#define MBED_EMAC_STACK_MEM_H
1818

19-
#include "platform.h"
20-
2119
#if DEVICE_EMAC
2220

2321
#include <stdint.h>

hal/hal/emac_api.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
#ifndef MBED_EMAC_API_H
1818
#define MBED_EMAC_API_H
1919

20-
#include "platform.h"
21-
22-
2320
#if DEVICE_EMAC
2421

2522
#include <stdbool.h>

0 commit comments

Comments
 (0)