Check your spellings carefully. You are not calling printclock(), but printfclock(), which does not exist.