vs2019执行判断大小的c++程序报错,想知道为什么会报错以及怎么进行处理

#include<stdio.h>
int main()
{
	int max(int x, int y);
	int a, b, c;
	scanf_s("%d,%d", &a, &b);
	c = max(a, b);
	printf("最大值为:%d", c);
	return 0;
}

在vs2019中输入该段,点击调试报错,新建项目如图所示:

报错截图如图:

 

int max(int x, int y);函数没有函数体!!!

谢谢(抱拳)