remove unused typedef to avoid compiler warning and keep code clean.
Merge pull request #672 from dr-robertk/PR/remove-unused-typedef-warning

remove unused typedef to avoid compiler warning and keep code clean.