Added extern "C" protectors to listhash.h