That prevents the static functions name from winding up in the global
namespace where the linker may DTWT with it - which can get ugly.
D
Mark Stacey wrote:
>
> I've been making some modifications to the linux kernel and I've come
> across some instances where I need to call a function from one file that's
> declared static in another.
>
> Just wondering what the general consensus from the linux maintainers is in
> this situation, should I rewrite the function, or can I remove the static
> declaration?
>
> Mark Stacey
>
> .... and that's my two cents.
>
> "Its not that I forgot, its just that I can't remember"
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
-- Did you read the documentation AND the FAQ? If not, I'll probably still answer your question, but my patience will be limited, and you take the risk of sarcasm and ridicule.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu