Clean up port.h
Merge pull request #2064 from ibuclaw/cleanport

[post-2.063] Clean up port.h