use extern C in Systime header