glGetQueryObjectiv are called in line 448 and line 505 in EXT_disjoint_timer_query.txt(also EXT_timer_query.txt and ARB_timer_query.txt and some other files)
/* Wait for the query result to become available */
while (!available) {
glGetQueryObjectiv(queries[1], GL_QUERY_RESULT_AVAILABLE, &available);
}
But I can't find such a function in header files.
I can only find glGetQueryObjectivEXT in gl2ext.h and glGetQueryObjectuiv in gl32.h gl31.h gl3.h