cleaned up c files