Disabled -Wreturn-type-c-linkage warning