summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-09-14 00:10:56 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-09-14 00:10:56 +0000
commit67a8decffeada987d10da616d72c1e6ec473dfa5 (patch)
tree60ad38e67ea058d7f14066960afb55b65a2614bc
parente42a31350df04ae9d68b7ab4a14408f5d013b42f (diff)
make some functions static
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index d0e7f7e9dc..9f25de44e2 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -203,7 +203,8 @@ radeonFillInModes( unsigned pixel_bits, unsigned depth_bits,
/* Create the device specific screen private data struct.
*/
-radeonScreenPtr radeonCreateScreen( __DRIscreenPrivate *sPriv )
+static radeonScreenPtr
+radeonCreateScreen( __DRIscreenPrivate *sPriv )
{
radeonScreenPtr screen;
RADEONDRIPtr dri_priv = (RADEONDRIPtr)sPriv->pDevPriv;
@@ -412,7 +413,8 @@ radeonScreenPtr radeonCreateScreen( __DRIscreenPrivate *sPriv )
/* Destroy the device specific screen private data struct.
*/
-void radeonDestroyScreen( __DRIscreenPrivate *sPriv )
+static void
+radeonDestroyScreen( __DRIscreenPrivate *sPriv )
{
radeonScreenPtr screen = (radeonScreenPtr)sPriv->private;