Main.c: In function ‘Sodep’:
Main.c:4:9: error: ‘x’ redeclared as different kind of symbol
int x=0;
^
Main.c:3:22: note: previous definition of ‘x’ was here
void Sodep(int t,int x){
^
Main.c:5:11: error: ‘T’ undeclared (first use in this function)
while(T!=null){
^
Main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
Main.c:5:14: error: ‘null’ undeclared (first use in this function)
while(T!=null){
^~~~
Main.c:6:14: error: expected expression before ‘)’ token
if ()
^
Main.c:4:9: warning: unused variable ‘x’ [-Wunused-variable]
int x=0;
^