Fixed static declaration of function follows non-static declaration.