From: Keith Whitwell Date: Thu, 28 Apr 2005 13:16:23 +0000 (+0000) Subject: Stop gcc-4.0 complaining about "type qualifiers ignored on function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cef1a1fedc583a5860f260d53b9b188a05f1e16;p=mesa.git Stop gcc-4.0 complaining about "type qualifiers ignored on function return type". --- diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index 8ed833042b2..ff0199b833f 100644 --- a/src/mesa/glapi/glapi.c +++ b/src/mesa/glapi/glapi.c @@ -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;