|
예를 들어서
a.h
void make_file();
void make_order();
a.c
#include "a.h"
int main(void){
switch(getche()){
case '1' :
make_file();
break;
case '2' :
make_order();
break;
default :
printf("\n You press wrong number! Try Again!!!\n");
break;
}
printf("end\n");
return;
}
void make_file()
{
...............
}
void make_order()
{
.................
}
이렇게 만들었는데
a.c:w8065 call to junction 'make_file' with no prototype
a.c:w8065 call to junction 'make_order' with no prototype
라는 warning 이 뜨는데 이유가 뭔지 갈쳐주세요~~~
제가 기초적인것을 잘몰라서 여기에 질문을 올립니다.
|