intel: make intelUpdateScreenFromSAREA() static
authorBrian Paul <brianp@vmware.com>
Mon, 26 Jan 2009 19:36:17 +0000 (12:36 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 26 Jan 2009 19:39:28 +0000 (12:39 -0700)
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_screen.h

index fcac24e18c93b14e2d2171425c6e29a93bbede6a..080f65fdd837007cc291fbaa64f4f967f4f68ea9 100644 (file)
@@ -161,7 +161,7 @@ intelPrintSAREA(const drm_i915_sarea_t * sarea)
  * A number of the screen parameters are obtained/computed from
  * information in the SAREA.  This function updates those parameters.
  */
-void
+static void
 intelUpdateScreenFromSAREA(intelScreenPrivate * intelScreen,
                            drm_i915_sarea_t * sarea)
 {
index 230b2c34612d3f78d3f537f86b904fb255baaeeb..e1036de4db8aecc8367a250a685428c887774b4d 100644 (file)
@@ -92,10 +92,6 @@ extern GLboolean intelMapScreenRegions(__DRIscreenPrivate * sPriv);
 
 extern void intelUnmapScreenRegions(intelScreenPrivate * intelScreen);
 
-extern void
-intelUpdateScreenFromSAREA(intelScreenPrivate * intelScreen,
-                           drm_i915_sarea_t * sarea);
-
 extern void intelDestroyContext(__DRIcontextPrivate * driContextPriv);
 
 extern GLboolean intelUnbindContext(__DRIcontextPrivate * driContextPriv);