Fixed mmap to use fmaster_fd structure.
Changed members of enum fmaster_fd_type to follow style(9).