platform: use switch statement in _linktype_get_type() for better readability...
platform: use switch statement in _linktype_get_type() for better readability some if statements are redundant, use switch instead of it.
platform: use switch statement in _linktype_get_type() for better readability some if statements are redundant, use switch instead of it.