Upstream for those .c and .h files is https://github.com/OSGeo/shapelib
