Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Danger ahead! A variable declared as global in a file _is_ global, whether it is in a header file or not, and whether it is intended or not. If you (or someone else) tries to declare another variable with the same name in another file, then you don't get two variables, you have _one_ variable. Great source of bugs.

I think the linker will normally catch this and complain about duplicate defined symbols.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.