From fcb6a0fa3e1ff351b2613e4f7f4ab5bc91e6c95d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 5 Sep 2005 21:17:44 +0000 Subject: make some functions static --- src/mesa/drivers/dri/trident/trident_state.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/dri/trident/trident_state.c') diff --git a/src/mesa/drivers/dri/trident/trident_state.c b/src/mesa/drivers/dri/trident/trident_state.c index 76b2a8ef3c..e0b7a45224 100644 --- a/src/mesa/drivers/dri/trident/trident_state.c +++ b/src/mesa/drivers/dri/trident/trident_state.c @@ -322,7 +322,8 @@ static void tridentDDShadeModel( GLcontext *ctx, GLenum mode ) } } -void tridentCalcViewport( GLcontext *ctx ) +static void +tridentCalcViewport( GLcontext *ctx ) { tridentContextPtr tmesa = TRIDENT_CONTEXT(ctx); const GLfloat *v = ctx->Viewport._WindowMap.m; @@ -358,7 +359,8 @@ static void tridentDDDepthRange( GLcontext *ctx, tridentCalcViewport( ctx ); } -void tridentSetCliprects( tridentContextPtr tmesa, GLenum mode ) +static void +tridentSetCliprects( tridentContextPtr tmesa, GLenum mode ) { __DRIdrawablePrivate *dPriv = tmesa->driDrawable; @@ -455,7 +457,8 @@ static void tridentDDClearColor( GLcontext *ctx, } #endif -void tridentDDUpdateState( GLcontext *ctx, GLuint new_state ) +static void +tridentDDUpdateState( GLcontext *ctx, GLuint new_state ) { _swrast_InvalidateState( ctx, new_state ); _swsetup_InvalidateState( ctx, new_state ); -- cgit v1.2.3