#ifndef TREE_H #define MAXLINES 1000 struct tnode { char *word; int lc; int lines[MAXLINES]; struct tnode *left; struct tnode *right; }; #define TREE_H #endif struct tnode *addtree(struct tnode *p, char *w, int line); void tprint(struct tnode *p); void tfree(struct tnode *p);