static void dfs(void); int main() { dfs(1,2); } static void dfs(int remain, int last) { // dfs }
Standard input is empty
prog.c: In function ‘main’: prog.c:6:5: error: too many arguments to function ‘dfs’ prog.c:1:13: note: declared here prog.c: At top level: prog.c:9:13: error: conflicting types for ‘dfs’ prog.c:1:13: note: previous declaration of ‘dfs’ was here prog.c:1:13: error: ‘dfs’ used but never defined [-Werror] prog.c:9:13: error: ‘dfs’ defined but not used [-Werror=unused-function] cc1: all warnings being treated as errors
Standard output is empty