r9677: Don't generate duplicate function names when processing structure elements