fix warning: remove unused typedef