sed script to add a definition for C function.

sed script to add a definition for C function.