Unit is a compilation unit, basically the .c file where this line resides in. Declaring something in the unit with the extern keyword means that this unit (the c file), after this line, knows about the existence of such variable, and you can use it, but it is defined somewhere else.