added "extern C" pragma to csk.h, forgot it previously.