chisla\main.c|14|warning: type of 'a' defaults to 'int' [enabled by default]|
chisla\main.c|14|warning: type of 'b' defaults to 'int' [enabled by default]|
в функции в качестве аргументов надо указывать тип int, то есть f22(int a,int b), а не просто int f22(a,b)
chisla\main.c|18|warning: statement with no effect [-Wunused-value]|
оператор без эффекта, то есть не используется нигде
chisla\main.c|23|warning: control reaches end of non-void function [-Wreturn-type]|
В конце функции добавьте return 0;