open the .wdl file in SED. go to file>save and explicitly type ".c" after the filename, and press save. It should save as a seperate .c file.

You will want to rename or delete the .wdl file. If a .c file finds a .wdl file with the same name in the same directory it will attempt to read that file also.