From cab19eced5aae4092143fcb01b4659a347156fc6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 23 Apr 2013 09:19:07 -0600 Subject: [PATCH] mesa: make _mesa_save_vtxfmt_init() static It's called from nowhere else. Reviewed-by: Eric Anholt --- src/mesa/main/dlist.c | 6 +++--- src/mesa/main/dlist.h | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 89af17c..9852f53 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -9547,8 +9547,8 @@ mesa_print_display_list(GLuint list) /***** Initialization *****/ /**********************************************************************/ -void -_mesa_save_vtxfmt_init(GLvertexformat * vfmt) +static void +save_vtxfmt_init(GLvertexformat * vfmt) { _MESA_INIT_ARRAYELT_VTXFMT(vfmt, _ae_); @@ -9673,7 +9673,7 @@ _mesa_init_display_list(struct gl_context *ctx) /* Display List group */ ctx->List.ListBase = 0; - _mesa_save_vtxfmt_init(&ctx->ListState.ListVtxfmt); + save_vtxfmt_init(&ctx->ListState.ListVtxfmt); } diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h index 2722e06..f2192a7 100644 --- a/src/mesa/main/dlist.h +++ b/src/mesa/main/dlist.h @@ -71,8 +71,6 @@ extern GLint _mesa_dlist_alloc_opcode( struct gl_context *ctx, GLuint sz, extern void _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist); -extern void _mesa_save_vtxfmt_init( GLvertexformat *vfmt ); - extern void _mesa_initialize_save_table(const struct gl_context *); extern void _mesa_install_dlist_vtxfmt(struct _glapi_table *disp, -- 2.7.4