
One Problem in Calling Static function from Non static function
Problem :
In a.c I make a function
void activation(OCTET * number,OCTET port);
{
//Here Iam calling another static function:
activation_by_service( data_ptr->number,Service,
data_ptr->port);
Quote:
}
In the main.h(i.e will be included in all the modules)
I did the Following:
extern void activation(OCTET*,OCTET);
When Iam trying to do the following in c.c:
#if a
activation(NULL,1); //100 errors persists while in b.c it is
executed with no error..
#endif
Anybody encounteredd such type of problems please help me..
Regds
Sobhan