I have to turn back to (embedded) C after some lengthy time with C++, and have the following problem:
I have a source module which is included a lot of times, let\'s
What you have is the canonical way to do it: have an extern declaration in the header file, and define the variable in the .c file.
extern
.c
my array will be an undefined symbol in worker.c
No, it won't. Your code will compile and link just fine.