Remove extensions warning with inlined functions

When compiling with --std=gnu89 -pedantic the use of "inline" would
cause a warning to appear. This fixes that warning.