C语言结构体作为函数参数时,编译给我报这个错误


#include <stdio.h>
#include <stdlib.h>
struct jiegou {
  int a;
  int b;
  int c;
} l;
int judge(struct jiegou *p);
int main(){
    int i=1;
    struct jiegou l;
    judge(&jiegou);
    for(i=1;l.a==1;i++)
    {
    printf("maei");
    }
    
 } 
 int judge (struct jiegou *p){
     int j=0;
     p->a=1;
     if(j<5){
     j++;
     }
     while(j=5){
         p->a=0;
     }
   return p->a;
 }

然后报错 [Error] expected primary-expression before ')' token
请各位帮我看看到底哪里出了问题,感激不尽!

第几行报错?

第8行删除分号前的l
第26行应该为

while(j==5)

谢谢兄弟,是我的问题,我忘记写在哪一行了,主要是12行报错