To my point of view, you should declare in the header files your global variables with extern qualifier because this global variable is shared among what about a multiple C files.
To my point of view, you should declare in the header file your global variables with the extern qualifier because this global variable is shared among multiple C files.