prog.c:3:10: error: unknown type name ‘StackType’
void que(StackType *s1, StackType *s2)
^~~~~~~~~
prog.c:3:25: error: unknown type name ‘StackType’
void que(StackType *s1, StackType *s2)
^~~~~~~~~
prog.c:13:9: error: unknown type name ‘StackType’
int Out(StackType *s1,StackType *s2)
^~~~~~~~~
prog.c:13:23: error: unknown type name ‘StackType’
int Out(StackType *s1,StackType *s2)
^~~~~~~~~
prog.c: In function ‘main’:
prog.c:31:2: error: unknown type name ‘StackType’
StackType s1, s2;
^~~~~~~~~
prog.c:33:2: warning: implicit declaration of function ‘init_stack’ [-Wimplicit-function-declaration]
init_stack(&s1);
^~~~~~~~~~
prog.c:37:2: warning: implicit declaration of function ‘push’ [-Wimplicit-function-declaration]
push(&s1, 10);
^~~~
prog.c:40:2: warning: implicit declaration of function ‘Out’ [-Wimplicit-function-declaration]
Out(&s1, &s2);
^~~
prog.c:43:2: error: expected declaration or statement at end of input
getchar();
^~~~~~~