From: Brian Paul Date: Tue, 23 Apr 2013 15:19:07 +0000 (-0600) Subject: mesa: make _mesa_save_vtxfmt_init() static X-Git-Tag: mesa-9.2.1~1615 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F6163%2F1;p=platform%2Fupstream%2Fmesa.git mesa: make _mesa_save_vtxfmt_init() static It's called from nowhere else. Reviewed-by: Eric Anholt --- 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,