Subject: Re: static functions
To: =?iso-8859-1?Q?J=F6rn?= Seger <joern.seger@udo.edu>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 05/10/2004 12:30:13
On Mon, May 10, 2004 at 12:21:56PM +0200, Jörn Seger wrote:
> something that this is related to the interrupt level. Is that right? If yes, 
> why; if not, why else are they static. 

No. They are static to avoid pollution of the kernel namespace and to 
make them "more private" to the driver/module. You can, of course, still
pass function pointers to them around, which is what happens for interrupt
handlers and callouts.

Most (all?) of them could be made non-static, but why would you want to do
that?

Martin