header file glitch

Alan Buckwalter (alan@eq.gs.com)
Tue, 8 Aug 95 23:07 EDT

I was recently trying to compile Wine-0727 under my 1.2.13
system, and for some reason, it would complain about the
header /usr/include/asm/bitops.h. Within, there are many
"inline" functions which are defined as "__inline__",
however, there are three instances where the "__" is
missing, and is yielding a syntax error to gcc when
compiling Wine.

Not knowing the difference myself, I changed the header file
for those three and all works just fine. When checking the
1.3.15 kernel source, it appears that these three were
changed there as well.

Is this a glitch ?
What is the difference between "inline" and "__inline__" ?

- Alan

_/ Alan M Buckwalter _/
_/ _/ +1 212 902 5586 _/ _/
_/ _/ _/ alan@eq.gs.com _/ _/ _/