Solaris portability
minor: match return type to quell compiler warning
place inline and func attributes before func

place inline and func attributes before func
to avoid some compilers (e.g. xlC) from mistaking inline of attribute
as a type attribute instead of a function attribute.  Occurs with xlc
when following 'void *'.
plasma portability fixes for Solaris and AIX

fixup Sun Studio and xlC compiler intrinsics and assembly
place inline and func attributes before func
to avoid some compilers (e.g. xlC) from mistaking inline of attribute
as a type attribute instead of a function attribute.  Occurs with xlc
when following 'void *'.