--- a/counter.c +++ b/counter.c @@ -10,7 +10,9 @@ int main (int argc, char **argv) { time_t t; + struct tm *time_str; + int start, end; if (argc != 2) {