removing stray extern C added while converting c++ to C