Update main.c

error fix: for printing time and for the source_file name undeclared.