Set the return data type as void. #include void add() { printf("asdfasdf");}main (){ add(); } asdfasdfasdfasdfasdfasdf