Inline addition to prevent multiple-TU linker errors

Added inline to necessary definitions to prevent multi-translation-unit linker errors.