struct mystruct1 { int field1; long field2; }; void foo1 (struct mystruct1 *p) { p->field1 = p->field2 = 0; }