[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: GPIO revisited
Arnaud Lacombe <lacombar%gmail.com@localhost> wrote:
> On Sat, Jul 25, 2009 at 6:53 AM, Marc Balmer<marc%msys.ch@localhost> 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.
> I see at least a few advantages of static function: they enforce
> interface definition, <...>
Exactly, in addition to what you, Christos and David said - it can be used
to clarify abstraction (separate public and private parts of interface).
It is slightly disappointing to hear such Marc's comment.
Main Index |
Thread Index |