Re: [PATCH] Generic dead function optimisation

From: Olaf Titz (olaf@bigred.inka.de)
Date: Tue Apr 25 2000 - 13:01:31 EST


> funca and funcb can be called from outside the module. They are still
> declared static. If you trust static to mean ``cannot be called from outside''
> you'll quickly fall flat onto your face.

That's not what I wrote. "static" means _this symbol_ can not be
referenced from outside the compilation unit. In your example the
symbol is referenced only inside the module, by the structure
initializer.

Olaf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:10 EST