Fix compiler warnings, and have Git ignore build product.

* Declare function prototypes.
* Declare correct return types.
* Exclude `sl` executable from version control.
* Bump version to 5.0.2.