tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: static functions are your friends (Was GPIO revisited)
On Mon, Aug 10, 2009 at 03:14:10PM +0200, Manuel Bouyer wrote:
> __inline is safe; but I'm not sure if we prefer to use __inline or inline
> these days. It seems new code uses inline and not __inline.
inline is C99. As you need a C99 compiler for larger chunk of the tree
anyway, there is no reason to use __inline. I'm not sure about
__restrict, if newer C++ allows that, restrict would be preferable as
well.
Joerg
Home |
Main Index |
Thread Index |
Old Index