I have a following C function,
PRIVATE int func_name()
{
return 0;
}
What does "PRIVATE" mean here?
I have a following C function,
PRIVATE int func_name()
{
return 0;
}
What does "PRIVATE" mean here?
In "normal" C PRIVATE
has no meaning.
It is probably a #define
to static
(or perhaps nothing). I'd suggest trying to grab the output of the pre-processor to see what it looks like. In gcc it's -E
to stop after the pre-processor stage.
Yes someone might have #defined PRIVATE
as static. search for #define of private in your code. They should have defined something like this #define PRIVATE static