Accessing external variables between two files

I have to read 8255 port status from f1.c.The variables corresponding to each port is defined using XBYTE in main.c file.What keyword should I use to implement this?

Thanks & Regards,
Reny.

More questions in this forum