fix unused typedef warnings