add extern K newK(I t, I n) to d.h - #186