also remove inline keyword if the def is inline-specified

this change kills the compiler warning about
used-but-not-defined inline functions