mesa: reimplement IROUND(), add F_TO_I()
[mesa.git] / src / mesa / main / queryobj.h
index e4ad96ba5a32ab4db66bd1e9013da1dd00940d68..e7a133b598b307b72d08c7a33631227471f1f167 100644 (file)
@@ -34,7 +34,7 @@
 
 #if FEATURE_queryobj
 
-static INLINE struct gl_query_object *
+static inline struct gl_query_object *
 _mesa_lookup_query_object(struct gl_context *ctx, GLuint id)
 {
    return (struct gl_query_object *)
@@ -42,24 +42,6 @@ _mesa_lookup_query_object(struct gl_context *ctx, GLuint id)
 }
 
 
-extern void GLAPIENTRY
-_mesa_GenQueriesARB(GLsizei n, GLuint *ids);
-
-extern void GLAPIENTRY
-_mesa_DeleteQueriesARB(GLsizei n, const GLuint *ids);
-
-extern GLboolean GLAPIENTRY
-_mesa_IsQueryARB(GLuint id);
-
-extern void GLAPIENTRY
-_mesa_GetQueryivARB(GLenum target, GLenum pname, GLint *params);
-
-extern void GLAPIENTRY
-_mesa_GetQueryObjectivARB(GLuint id, GLenum pname, GLint *params);
-
-extern void GLAPIENTRY
-_mesa_GetQueryObjectuivARB(GLuint id, GLenum pname, GLuint *params);
-
 extern void
 _mesa_init_query_object_functions(struct dd_function_table *driver);
 
@@ -68,18 +50,18 @@ _mesa_init_queryobj_dispatch(struct _glapi_table *disp);
 
 #else /* FEATURE_queryobj */
 
-static INLINE struct gl_query_object *
+static inline struct gl_query_object *
 _mesa_lookup_query_object(struct gl_context *ctx, GLuint id)
 {
    return NULL;
 }
 
-static INLINE void
+static inline void
 _mesa_init_query_object_functions(struct dd_function_table *driver)
 {
 }
 
-static INLINE void
+static inline void
 _mesa_init_queryobj_dispatch(struct _glapi_table *disp)
 {
 }