Functions should have an empty parameter list:

```sh
function xcode_major_version () {
```

(This syntax is more portable.)