Modules: 

// First Module, Main Module  (Main.c)

#include <Reg935.h> 					
#include <stdio.h>
#include <String.h>
#include <intrins.h>

#include "variables.h"

Void Main (void) 
{
<b>unsigned char data Sec, Min, Hr, Day; 
unsigned char code Zero [] = {0x03, 0x61, 0x11, 0x03};
unsigned int Value = 0;
unsigned char dat;</b>

}
:
:
:
:
// End of first module
/**************************************/

//Second module
//Calc.c 

#include <Reg935.h> 					
#include <stdio.h>
#include <String.h>
#include <intrins.h>

#include “variables.h” 
Void Main_Calc (void)
{

}
:
:
:
// End of second module

/**************************************/

Header: 

Variables.h 	(Name of  Header)


//To be used in Main.c <b> delete this line for globals</b> 
<b>extern</b> unsigned char data Sec, Min, Hr, Day;
//To be used in Calc.c <b> delete this line for globals</b>
<b>extern</b> unsigned char code Zero [] = {0x03, 0x61, 0x11, 0x03};
<b>extern</b> unsigned int Value = 0;
<b>extern</b> unsigned char dat;