Fix missing inline declarations

As per issue #178 and commit 290b7190487821c9075ecb8b90d75d97ff7e85c1, most functions were marked inline as appropriate. I found a few cases where they were still missing and attached them to this pull request.