跑腿修改订单的代码C语言

void modify(node *s)
case 4:modify();break;
存在问题


```c
**void modify(node *s){******
   int ch;
   system("cls");
   system("color 6B");
   printf("\n\n\n\t~~~~~~~修改订单~~~~~~~~~\n\n");
   printf("\t输入1修改订单\t输入0返回上一级:");
   scanf("%d",&ch);
   switch(ch){
   while(ch==1)
     {
      p=Great(p);
         printf("\t\t输入1修改订单\t输入0返回上一级:");
         scanf("%d",&ch);
        if(ch==0){
        printf("返回上一级\n");
        break;
    }
    online();
   }
   }
}
void  online(){
     int ch;
      system("cls");
      system("color 5F");
      printf("\n\n\t~~~~~~~欢迎使用在线自由接单~~~~~~~~~\n\n");
      printf("\t\t1\t增加订单\n");
      printf("\t\t2\t查询订单\n");
      printf("\t\t3\t删除订单\n");
      printf("\t\t4\t修改订单\n");
      printf("\t\t5\t返回上一级\n");
      scanf("%d",&ch);
      switch(ch){
      case 1:addPub();break;
      case 2:ViesPub();break;
      case 3:delete();break;
      **case 4:modify();break;**
      case 5:wchat();break;
      }
}

存在问题那个E:\课设文件\Myproject\main.c|66|error: redefinition of 'modify'|
E:\课设文件\Myproject\main.c|102|error: too few arguments to function 'modify

void modify(node *s) 这不是有个参数的吗,但你调用的时候 case 4:modify();break; 并没有给参数。