made runtime_common pure c