Stop gcc-4.0 complaining about "type qualifiers ignored on function
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 28 Apr 2005 13:16:23 +0000 (13:16 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 28 Apr 2005 13:16:23 +0000 (13:16 +0000)
return type".

src/mesa/glapi/glapi.c

index 8ed833042b2712434258987f64cd2fd7a10b5094..ff0199b833fe4a64081f2429bb3844220e4785de 100644 (file)
@@ -912,7 +912,7 @@ _glapi_get_proc_offset(const char *funcName)
  * in the name of static functions, try generating a new API entrypoint on
  * the fly with assembly language.
  */
-PUBLIC const _glapi_proc
+PUBLIC _glapi_proc
 _glapi_get_proc_address(const char *funcName)
 {
    GLuint i;