Drop typedef redeclarations

C99 doesn't permit redeclaring typedefs in the same scope.