change extern C code