[riot-commits] [RIOT-OS/RIOT] 434703: ip: make addr_str static

Martine Lenders authmillenon at gmail.com
Sun Feb 8 22:15:09 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 4347039e88442730b8f1f38d7f524863619afebc
      https://github.com/RIOT-OS/RIOT/commit/4347039e88442730b8f1f38d7f524863619afebc
  Author: Cenk Gündoğan <cnkgndgn at gmail.com>
  Date:   2015-02-08 (Sun, 08 Feb 2015)

  Changed paths:
    M sys/net/network_layer/sixlowpan/ip.c

  Log Message:
  -----------
  ip: make addr_str static

When setting the `ENABLE_DEBUG` flag to *1* in ip.c,
the **rpl_udp** example won't compile, because the variable `addr_str`
is also defined in **rpl_udp.h** as extern.
Prefixing `addr_str` with `static` in ip.c solves this problem.


  Commit: fe2951459716a16076419046b1b33e34098a858c
      https://github.com/RIOT-OS/RIOT/commit/fe2951459716a16076419046b1b33e34098a858c
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2015-02-08 (Sun, 08 Feb 2015)

  Changed paths:
    M sys/net/network_layer/sixlowpan/ip.c

  Log Message:
  -----------
  Merge pull request #2411 from cgundogan/ip_static_addr_str

ip: make addr_str static


Compare: https://github.com/RIOT-OS/RIOT/compare/dd2da2fb711a...fe2951459716


More information about the commits mailing list