Add missing extern(C).