隐形声明警告解决//warning: implicit declaration of function ‘XXX’; did you mean ‘YYY’?
TheProblemwarning:implicitdeclarationoffunction‘XXX’;didyoumean‘YYY’?[-Wimplicit-function-declaration]TheReason1.‘XXX’函数定义在.c文件中,同名.h文件,未声明该函数;2.调用‘XXX’函数的.c文件中,未添加'XXX'声明的.h文件。Solution定义'XXX'函数的同名.h文