From: Daniel Borca Date: Mon, 20 Dec 2004 08:16:24 +0000 (+0000) Subject: made some functions static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad149e3e65f441669f3067b3fb428ff3472aa6a0;p=mesa.git made some functions static. --- diff --git a/src/mesa/drivers/glide/fxddspan.c b/src/mesa/drivers/glide/fxddspan.c index 0949ea727cb..ff522522d13 100644 --- a/src/mesa/drivers/glide/fxddspan.c +++ b/src/mesa/drivers/glide/fxddspan.c @@ -444,7 +444,7 @@ static void fxReadRGBASpan_ARGB8888 (const GLcontext * ctx, /***** Depth functions (optimized) *****/ /************************************************************************/ -void +static void fxReadDepthSpan_Z16(GLcontext * ctx, GLuint n, GLint x, GLint y, GLdepth depth[]) { @@ -464,7 +464,7 @@ fxReadDepthSpan_Z16(GLcontext * ctx, } -void +static void fxReadDepthSpan_Z24(GLcontext * ctx, GLuint n, GLint x, GLint y, GLdepth depth[]) { @@ -487,15 +487,16 @@ fxReadDepthSpan_Z24(GLcontext * ctx, /***** Stencil functions (optimized) *****/ /************************************************************************/ -void fxWriteStencilSpan (GLcontext *ctx, GLuint n, GLint x, GLint y, - const GLstencil stencil[], const GLubyte mask[]) +static void +fxWriteStencilSpan (GLcontext *ctx, GLuint n, GLint x, GLint y, + const GLstencil stencil[], const GLubyte mask[]) { /* * XXX todo */ } -void +static void fxReadStencilSpan(GLcontext * ctx, GLuint n, GLint x, GLint y, GLstencil stencil[]) { @@ -514,19 +515,21 @@ fxReadStencilSpan(GLcontext * ctx, } } -void fxWriteStencilPixels (GLcontext *ctx, GLuint n, - const GLint x[], const GLint y[], - const GLstencil stencil[], - const GLubyte mask[]) +static void +fxWriteStencilPixels (GLcontext *ctx, GLuint n, + const GLint x[], const GLint y[], + const GLstencil stencil[], + const GLubyte mask[]) { /* * XXX todo */ } -void fxReadStencilPixels (GLcontext *ctx, GLuint n, - const GLint x[], const GLint y[], - GLstencil stencil[]) +static void +fxReadStencilPixels (GLcontext *ctx, GLuint n, + const GLint x[], const GLint y[], + GLstencil stencil[]) { /* * XXX todo