[Mesa-dev] [PATCH 06/15] mesa: make _mesa_map_function_spec() static
Emil Velikov
emil.l.velikov at gmail.com
Tue Jun 7 16:33:39 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
Used only locally.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/mesa/main/remap.c | 6 +++---
src/mesa/main/remap.h | 3 ---
2 files changed, 3 insertions(+), 6 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) {
diff --git a/src/mesa/main/remap.h b/src/mesa/main/remap.h
index bd949a1..19d2f0d 100644
--- a/src/mesa/main/remap.h
+++ b/src/mesa/main/remap.h
@@ -35,9 +35,6 @@ struct gl_function_pool_remap {
extern int
driDispatchRemapTable[];
-extern int
-_mesa_map_function_spec(const char *spec);
-
extern void
_mesa_init_remap_table(void);
--
2.8.2
More information about the mesa-dev
mailing list