O-type main-sequence stars