[CALL FOR TESTERS] New system call: abort2()

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Dec 15 15:32:14 PST 2005


In message <20051215.162352.28837879.imp at bsdimp.com>, Warner Losh writes:

>> On the similar note, the ability to move declarations closer to the
>> point of use in code is IMO nice feature, too. The style(9) doesn't
>> mention this either.
>
>C doesn't allow it, or didn't until recently.  That style tends to
>lead to really gross things too.  Functions should be short enough
>that it doesn't matter.

Also, it tends to make it harder to judge the amount of stackspace
a function uses, something which is not entirely uninteresting in
kernel programming.

And yes, changing style(9) is just not worth the time it takes.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-hackers mailing list