Some -pedantic warning fixes.

Drop the use of 'inline' in most places... place some trust in the
compiler.