Use the same array in 2 *.c files in a project


#1

Hello

I need to know, how I can use the same array in to *.c files in one project.

I have a reading part of the serial port in my appli.c and I have a sending part over gprs in the other file entry_point.c.
Now I want to send the saved data from the serial part to the sending part. How can I use one array in both codes, which sends the data from the receiding part to the sending part?

Thx


#2

c-faq.com/decl/decldef.html

This is standard textbook ANSI ‘C’ stuff - nothing specifically to do with Wavecom or Open-AT or the Fastrack