Fixed compiler warnings

I've fixed a number of compiler warnings (all the ones I get with -Wall in Xcode 5):

* Implicit integer conversions from size_t to unsigned int (I'm building for 64-bit)
* "Unused function" warnings that come from the functions defined in header files not being declared as inline
* Another "unused function" for the `dummy_function_to_avoid_bus_error()`.