rpl: cleanup, changing structdefs into typedefs
Merge pull request #2234 from cgundogan/rpl_struct_typedef_cleanup

rpl: cleanup, changing structdefs into typedefs