prog.c: In function 'main':
prog.c:10:7: warning: implicit declaration of function 'interpret' [-Wimplicit-function-declaration]
t2 = interpret(t1);
^
prog.c:10:5: error: incompatible types when assigning to type 'memstruct {aka struct memstruct}' from type 'int'
t2 = interpret(t1);
^
prog.c:8:15: warning: variable 't2' set but not used [-Wunused-but-set-variable]
memstruct t1,t2;
^
prog.c: At top level:
prog.c:18:11: error: conflicting types for 'interpret'
memstruct interpret(memstruct t){
^
prog.c:10:7: note: previous implicit declaration of 'interpret' was here
t2 = interpret(t1);
^