(GLX) Remove a global and a reinvented typedef.