Removed redundant GLsync definition and replaced APIENTRY with GL_APIENTRY.
Authored by: spasi 2012-11-06
Parent: [r3817]
Child: [r3819]