Thx i have fixed it
Now i have something else
union qdisc qdisc_stats[10];
I want to pass the following union as a parameter to a function
void read_diff_parameters(struct diff_configuration *diff,union qdisc *qdisc){
the function is called
read_diff_parameters(&diff_configuration,&qdisc_stats);
this prints the following warning
3threads.c:47: warning: passing arg 2 of `read_diff_parameters' from incompatible pointer type