Added missing extern C.