Skip to content

Commit

Permalink
Remove unnecessary includes from headers
Browse files Browse the repository at this point in the history
Add to sources, where needed.

mgos_sys_config.h used to pull in a lot of stuff it doesn't need, and many modules depended on it transitively.

CL: none

PUBLISHED_FROM=2c00910bfa3d334025332cedc510b15740230e9e
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Feb 2, 2018
1 parent 296033d commit bf979d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/esp32/esp32_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#include "lwip/ip_addr.h"

#include "common/cs_dbg.h"

#include "mgos_eth.h"
#include "mgos_net.h"
#include "mgos_net_hal.h"
Expand Down
2 changes: 2 additions & 0 deletions src/mgos_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#include "lwip/ip_addr.h"

#include "common/cs_dbg.h"

#include "mgos_sys_config.h"

const char *mgos_eth_speed_str(enum mgos_eth_speed speed) {
Expand Down

0 comments on commit bf979d2

Please sign in to comment.