Skip to the task
Layout
Back to classic view

You are looking at lesson 7. Your place is still Practice test 1, task 1: About.

CHECKTask 13 of 26 · step 5: Three errors

A body in the .h file

Move the body of is_time from daytime.c into daytime.h and build. Why doesn't the #ifndef guard help? Then undo it.

Stuck?

multiple definition of `is_time': daytime.h is included in two different .c files. The guard only protects against two inclusions into the same .c.