pioneerspacesim/pioneer — pull request #1386 by johnbartholomew (2012-07-22 16:42:20+00:00)
Title: Minor cleanup

Various things, as usual.

* Adds a `COUNTOF` macro in libs.h which gives the number of elements of a statically sized array.
* Some function argument range checks.