hello,
i want to declare a bit flag in the header file which i have used in several C files. for ex: i have declared a flags like......
bit isr_set=0; bit buferflg=0;
These flags are used in 2-3 more C files.for that i am getting a eroor message
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS SYMBOL: BUFERFLG MODULE: XXXXXXXXXXXXXXXXXXXXX
can u please tell me how can i declare these type of multiple declarations.
c-faq.com/.../decldef.html and links therein.