Find all files with the extensions .h and .c and for each of them, use sed to replace any uppercase letters with the same letter in lowercase.
find -name '*.[hc]' | xargs -n1 sed -r 's/(.*)([A-Z]+)(.*)/\1\L\2/g'