summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d0e7f7e9dc9..9f25de44e2a 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;