Mesa (master): mesa: fix _mesa_alloc_dispatch_table() declaration

Brian Paul brianp at kemper.freedesktop.org
Wed Oct 1 21:17:44 UTC 2014


Module: Mesa
Branch: master
Commit: 44b500f5f2671f2a9d82f601a2bf4329b6c9a8e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44b500f5f2671f2a9d82f601a2bf4329b6c9a8e6

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Oct  1 09:03:13 2014 -0600

mesa: fix _mesa_alloc_dispatch_table() declaration

Insert 'void' parameter to match declaration in api_exec.h.  Trivial.

---

 src/mesa/main/context.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 0edd66d..afe43a6 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -894,7 +894,7 @@ _mesa_generic_nop(void)
  * Allocate and initialize a new dispatch table.
  */
 struct _glapi_table *
-_mesa_alloc_dispatch_table()
+_mesa_alloc_dispatch_table(void)
 {
    /* Find the larger of Mesa's dispatch table and libGL's dispatch table.
     * In practice, this'll be the same for stand-alone Mesa.  But for DRI




More information about the mesa-commit mailing list