move C declaration before code