summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/remap.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-06-07 17:33:39 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-06-13 15:31:28 +0100
commit3f80c95f35cd21f19e4946a3f50d4c5e16bad7a2 (patch)
tree67fee407e656426691077f86bfcfc44c5257d65f /src/mesa/main/remap.c
parent390678f27daf3349746b47570c9897a3208ae50b (diff)
downloadexternal_mesa3d-3f80c95f35cd21f19e4946a3f50d4c5e16bad7a2.zip
external_mesa3d-3f80c95f35cd21f19e4946a3f50d4c5e16bad7a2.tar.gz
external_mesa3d-3f80c95f35cd21f19e4946a3f50d4c5e16bad7a2.tar.bz2
mesa: make _mesa_map_function_spec() static
Used only locally. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/remap.c')
-rw-r--r--src/mesa/main/remap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/remap.c b/src/mesa/main/remap.c
index e76293c..595d0a1 100644
--- a/src/mesa/main/remap.c
+++ b/src/mesa/main/remap.c
@@ -61,8 +61,8 @@ int driDispatchRemapTable[driDispatchRemapTable_size];
* \return the offset of the (re-)mapped function in the dispatch
* table, or -1.
*/
-GLint
-_mesa_map_function_spec(const char *spec)
+static GLint
+map_function_spec(const char *spec)
{
const char *signature;
const char *names[MAX_ENTRY_POINTS + 1];
@@ -118,7 +118,7 @@ _mesa_do_init_remap_table(const char *pool,
assert(i == remap[i].remap_index);
spec = _mesa_function_pool + remap[i].pool_index;
- offset = _mesa_map_function_spec(spec);
+ offset = map_function_spec(spec);
/* store the dispatch offset in the remap table */
driDispatchRemapTable[i] = offset;
if (offset < 0) {