fixed some extern "C" declarations in datatype modules (clang detected those)