Hi:
Thank you.
Attached is my source file plus my header file.
tv2.c is the main file and mytrace.h is the header.
Below is the error code that I am getting when I compile with gcc:
Code:
bash-2.05$ gcc tv2.c
tv2.c: In function `trace_init':
tv2.c:21: error: `trace_item' undeclared (first use in this function)
tv2.c:21: error: (Each undeclared identifier is reported only once
tv2.c:21: error: for each function it appears in.)
tv2.c:21: error: parse error before ')' token
I checked my compiler settings in 'CodeBlocks' and it says it is set to GNU GCC Compiler.
Thanks for helping with this.