diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-05 21:17:44 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-05 21:17:44 +0000 |
commit | fcb6a0fa3e1ff351b2613e4f7f4ab5bc91e6c95d (patch) | |
tree | 39f0105656f9d3ca45db2b6c301300bf7ac39e30 /src/mesa/drivers/dri/trident/trident_context.c | |
parent | 6575e37cbf222c4f2fe7cb59fc1bb13b245d12fc (diff) |
make some functions static
Diffstat (limited to 'src/mesa/drivers/dri/trident/trident_context.c')
-rw-r--r-- | src/mesa/drivers/dri/trident/trident_context.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/trident/trident_context.c b/src/mesa/drivers/dri/trident/trident_context.c index f43c1e732c..9c8f7ef01f 100644 --- a/src/mesa/drivers/dri/trident/trident_context.c +++ b/src/mesa/drivers/dri/trident/trident_context.c @@ -62,9 +62,10 @@ static const struct tnl_pipeline_stage *trident_pipeline[] = { }; -GLboolean tridentCreateContext( const __GLcontextModes *glVisual, - __DRIcontextPrivate *driContextPriv, - void *sharedContextPrivate) +static GLboolean +tridentCreateContext( const __GLcontextModes *glVisual, + __DRIcontextPrivate *driContextPriv, + void *sharedContextPrivate) { GLcontext *ctx, *shareCtx; __DRIscreenPrivate *sPriv = driContextPriv->driScreenPriv; @@ -348,7 +349,8 @@ tridentUnbindContext( __DRIcontextPrivate *driContextPriv ) } -tridentScreenPtr tridentCreateScreen( __DRIscreenPrivate *sPriv ) +static tridentScreenPtr +tridentCreateScreen( __DRIscreenPrivate *sPriv ) { TRIDENTDRIPtr tDRIPriv = (TRIDENTDRIPtr)sPriv->pDevPriv; tridentScreenPtr tridentScreen; @@ -393,12 +395,14 @@ printf("MAPPED at %p\n", tridentScreen->mmio.map); /* Destroy the device specific screen private data struct. */ -void tridentDestroyScreen( __DRIscreenPrivate *sPriv ) +static void +tridentDestroyScreen( __DRIscreenPrivate *sPriv ) { tridentScreenPtr tridentScreen = (tridentScreenPtr)sPriv->private; FREE(tridentScreen); } + static GLboolean tridentInitDriver(__DRIscreenPrivate *sPriv) { |