M
MikeF
Group,
I have a variable declared in 'main.c' as:
const unsigned int x = 1;
I have another module which uses this same variable, I've tried to declare
as:
extern const unsigned int x;
Is this correct????
My compiler complains about using extern with 'const'.
Thanks,
MikeF
*** ***
I have a variable declared in 'main.c' as:
const unsigned int x = 1;
I have another module which uses this same variable, I've tried to declare
as:
extern const unsigned int x;
Is this correct????
My compiler complains about using extern with 'const'.
Thanks,
MikeF
*** ***