tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GPIO revisited



On Sat, Jul 25, 2009 at 12:53:45PM +0200, Marc Balmer wrote:
> While it certainly can make sense to declare functions static in some  
> userland programs for the sole reason to include a command in a crunched 
> binary, it does not make sense in kernel code; much to the contrary, it 
> makes debugging harder.

Eh? There are a lot of reasons why anything that can be declared
static should be, chief among which are (1) being able to make
file-local changes with confidence and (2) avoiding accidental
crosslinking.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index