remove typedef from enum