/in/foo.c:8:2: error: unknown type name 'WordsNode'
WordsNode *next;
^~~~~~~~~
/in/foo.c: In function 'function':
/in/foo.c:11:2: error: unknown type name 'WordsNode'; use 'struct' keyword to refer to the type
WordsNode *p=list->next,*pre=list;;
^~~~~~~~~
struct
/in/foo.c:11:31: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
WordsNode *p=list->next,*pre=list;;
^~~~
In file included from /usr/include/string.h:630:0,
from /in/foo.c:3:
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:12:19: error: request for member 's' in something not a structure or union
while(p&&strcmp(p->s,word)<0){
^
/in/foo.c:14:6: error: request for member 'next' in something not a structure or union
p=p->next;
^~
In file included from /usr/include/string.h:630:0,
from /in/foo.c:3:
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:16:24: error: request for member 's' in something not a structure or union
if(p==NULL || strcmp(p->s,word)){
^
/in/foo.c:17:3: error: unknown type name 'WordsNode'; use 'struct' keyword to refer to the type
WordsNode *node=(WList *)malloc(sizeof (WordsNode));
^~~~~~~~~
struct
/in/foo.c:17:43: error: 'WordsNode' undeclared (first use in this function)
WordsNode *node=(WList *)malloc(sizeof (WordsNode));
^~~~~~~~~
/in/foo.c:17:43: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:18:7: error: request for member 'time' in something not a structure or union
node->time=1;
^~
/in/foo.c:19:14: error: request for member 's' in something not a structure or union
strcpy(node->s,word);
^~
/in/foo.c:20:7: error: request for member 'next' in something not a structure or union
node->next=pre->next;
^~
/in/foo.c:20:17: error: request for member 'next' in something not a structure or union
node->next=pre->next;
^~
/in/foo.c:21:6: error: request for member 'next' in something not a structure or union
pre->next=node;
^~
In file included from /usr/include/string.h:630:0,
from /in/foo.c:3:
/in/foo.c:22:19: error: request for member 's' in something not a structure or union
}else if(strcmp(p->s,word)==0){
^
/in/foo.c:22:19: error: request for member 's' in something not a structure or union
}else if(strcmp(p->s,word)==0){
^
/in/foo.c:22:19: error: request for member 's' in something not a structure or union
}else if(strcmp(p->s,word)==0){
^
/in/foo.c:22:19: error: request for member 's' in something not a structure or union
}else if(strcmp