Quote:
|
Originally Posted by Dave Flowerday
You're creating the variable in the .h file. This causes a variable named FIRE_DELAYS to be created in every file which includes your .h file. Instead you want to just create it in one .c file and then declare it extern in the others.
|
hah. your right. I can't believe i missed that. Its been a while since i have programmed in anything but java. This whole .h thing takes some getting used to again.