window: Remove duplicated function declaration