generates NULLs to hash for sparse files
outfile.h no longer needed
generates NULLs to hash for sparse files
removes warnings for C99 and C++11