renaming C functions