Re: __inline__ vs. inline

Philip Blundell (philb@gnu.org)
Wed, 17 Feb 1999 22:11:00 +0000


>What is the difference between inline and __inline__ WRT the kernel
>sources?

There's no functional difference. "__inline__" is a reserved keyword in C so
it's safe(ish) to use in headers that might be seen by arbitrary user
applications. For stuff that only the kernel proper uses, "inline" is
slightly more readable.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/