glr2.cc: prefer unnamed namespace to 'static'