prog.c:1:32: error: array type has incomplete element type 'struct fichacarro'
void excluir(struct fichacarro carro[])
^
prog.c:1:21: warning: 'struct fichacarro' declared inside parameter list
void excluir(struct fichacarro carro[])
^
prog.c:1:21: warning: its scope is only this definition or declaration, which is probably not what you want
prog.c: In function 'excluir':
prog.c:4:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("Indice para excluir: ");
^
prog.c:4:2: warning: incompatible implicit declaration of built-in function 'printf'
prog.c:4:2: note: include '<stdio.h>' or provide a declaration of 'printf'
prog.c:5:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d", &j);
^
prog.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf'
prog.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
prog.c:7:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
strcpy(carro[j].modelo, carro[j+1].modelo);
^
prog.c:7:3: warning: incompatible implicit declaration of built-in function 'strcpy'
prog.c:7:3: note: include '<string.h>' or provide a declaration of 'strcpy'