There are several cases in which inline functions are declared in header files. This causes warnings with newer versions of gcc. This patch converts them to static inlines. Signed-off-by: Jeff Mahoney <jeffm@suse.com>