providers: linux: only onInit() needs to be "extern C"