add copyright notice to C file as well