Remove redundant extern definitions.