s/scan.t: typedef_structs fixes