cdu31a.c needs tmp_irq outside of the block it is declared in. Move it to the outer block.
Attach a file by drag & drop or click to upload