Reputation: 639
Where is struct proc_dir_entry
defined in linux kernel?
in /linux/proc_fs.h
it is just declared as: (kernel 3.10)
struct proc_dir_entry;
and I think because of this I get this error:
dereferencing pointer to incomplete type
at this line of code though including /linux/proc_fs.h
:
while(strcmp (my_dir_entry->name,"tcp"))
Upvotes: 2
Views: 6849