Use correct pointer types.
Use correct pointer types.

temp shouldn't have been void*.
It needs to be
configoption_t const **
which agrees with the type of configfile->config_options.

I also changed the malloc and realloc calls to use the correct type in their
sizeof calls.

williamh/dotconf,williamh/dotconf