Enable folding for C and C++.  Remove unused function.