t: fix "mixed declarations and code" error