[SQUASH ME] netapi: silence cppcheck
[SQUASH ME] netapi: move a astyle-nervous comment
[SQUASH ME] basic_mac: reduce scope of a variable
[SQUASH ME] basic_mac: add C++ guards
[SQUASH ME] basic_net: fix some comment-style
[SQUASH ME] netapi: Add C++ guards
[SQUASH ME] basic_mac.tests: add C++ guards