Dears :
 
     Maybe it's improper to ask the question not specific to Linux here.
But there([EMAIL PROTECTED]) must be some skilled  C-programmers .
 
In my company,I write  firmware   ,
Un-avoidablely,there is a complicated Menu written in C(not C++) by another company.
(it's said that's why the product costs a good price)
   
There are lots of function as follows :
 
Byte GetVariable(void)
{return Variable ;} 
where Variable is a gloable variable .
 
My question is :
  Why is the variable  encapulated like this(but not declared as globle) ? 
  The function explain it's usage .Is there other goods ?
  There are some globle variables hidden in drivers .Should I explicitly list them as  parameters of
  drivers(functions) ?
 
Thanks in advance !
Henry

Reply via email to