remove old c code