Changed some extern error.

The extern u do wrong d. I tested with eclipse. When we declare a variable just like usual. But when we want to use the variable from other .h then we use extern to change the data of the variable in the original .h.
Merge it, i tested with the local code that i had.