[riot-commits] [RIOT-OS/RIOT] 9d6a32: gnrc_mac: fix header includes

Koen Zandberg koen at bergzand.net
Thu Nov 29 22:02:48 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 9d6a32b551cb40fbb5bd3f967b42d56797c8038c
      https://github.com/RIOT-OS/RIOT/commit/9d6a32b551cb40fbb5bd3f967b42d56797c8038c
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M sys/include/net/gnrc/gomach/types.h
    M sys/include/net/gnrc/mac/types.h
    M sys/net/gnrc/link_layer/lwmac/lwmac.c
    M tests/unittests/tests-gnrc_mac_internal/tests-gnrc_mac_internal.c

  Log Message:
  -----------
  gnrc_mac: fix header includes

The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)


  Commit: b59bfd555443de30ff65dfba6ee290208039874d
      https://github.com/RIOT-OS/RIOT/commit/b59bfd555443de30ff65dfba6ee290208039874d
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M sys/include/net/gnrc/gomach/types.h
    M sys/include/net/gnrc/mac/types.h
    M sys/net/gnrc/link_layer/lwmac/lwmac.c
    M tests/unittests/tests-gnrc_mac_internal/tests-gnrc_mac_internal.c

  Log Message:
  -----------
  Merge pull request #10505 from miri64/gnrc_mac/fix/header-includes

gnrc_mac: fix header includes


Compare: https://github.com/RIOT-OS/RIOT/compare/f4e810cfff3c...b59bfd555443
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list