B
baumann@pan
Hi all,
in a .h header file
i want to declare a var as
extern struct mytype a[200];
after I include the header file in a dot c file
and define the var in the global scope of the dot c file as
struct mytype a[200];
but the compiler complains the redefinition occurs,
how to cope with it? thanks in advance.
baumann at pan
in a .h header file
i want to declare a var as
extern struct mytype a[200];
after I include the header file in a dot c file
and define the var in the global scope of the dot c file as
struct mytype a[200];
but the compiler complains the redefinition occurs,
how to cope with it? thanks in advance.
baumann at pan