Delete an enum and a function typedef that aren't used anywhere, and