Implement Eliminate Duplicate Function Declarations for Global code