Update timer.c~

updated c timer