use rt_ prefix instead of drt_, remove extern(C)