Implemented check_typedefs.sh.
Removed unused typedefs.
Removed unused typedefs.
Removed unused typedefs.
Removed unused typedefs.
Removed unused typedefs.
Replaced a local variable declaration to auto.
Removed TODO items.