To modify the c code, you will need to download the souce, modify it then install from source to get those changes.
As @dashesy mentionned, if you want to create a new op, it will be simpler to use cpp extensions.