The function is called inside another one, like this: if(analyze(&comp->v_id) == 0) This struct (comp) is passed as a parameter of the othe function: short int comp_here(s_comp *comp) It is not wrong. __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/