Subject: Re: static functions
To: =?iso-8859-1?Q?J=F6rn?= Seger <email@example.com>
From: Martin Husemann <firstname.lastname@example.org>
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