/in/ex1.c:14:5: error: redefinition of 'main'
int main(){
^~~~
/in/ex1.c:3:5: note: previous definition of 'main' was here
int main (){
^~~~
/in/ex1.c: In function 'main':
/in/ex1.c:15:5: error: statement with no effect [-Werror=unused-value]
Spell wand[100];
^~~~~
/in/ex1.c:15:11: error: expected ';' before 'wand'
Spell wand[100];
^~~~
/in/ex1.c:19:23: error: 'wand' undeclared (first use in this function)
scanf("%s %s",wand[i].name,wand[i].dps);
^~~~
/in/ex1.c:19:23: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors