commit befa5866ee performed this change for struct definitions that did not also involve typedef, but omitted the latter.
befa5866ee