Quote:
Originally Posted by wojtyla
i have a struct defined in a .h file
now 2 other C files are in cluding this .h file
so during make file i get a error sayiny that the variables in this structure are being redifined
how do i encounter this
i would also like to know what causes this
Are you including that header file in any other header file.
If Yes, that may due to multiple inclusion of that header file, may be included indirectly from some other header file.