i965: Define miptree map functions static (trivial)
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 2 Feb 2016 22:51:09 +0000 (14:51 -0800)
committerBen Widawsky <benjamin.widawsky@intel.com>
Mon, 18 Apr 2016 23:12:13 +0000 (16:12 -0700)
They were already declared as such. It was changed here:
commit 31f0967fb50101437d2568e9ab9640ffbcbf7ef9
Author: Ian Romanick <ian.d.romanick@intel.com>
Date:   Wed Sep 2 14:43:18 2015 -0700

    i965: Make intel_miptree_map_raw static

Cc: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c

index 9e84abb8d9fdad7206a0ce8de2ec7e8f3c4c1d0e..d263ff896e86ab6628198fa746b1ff6ebf121be4 100644 (file)
@@ -2200,7 +2200,7 @@ intel_miptree_updownsample(struct brw_context *brw,
    }
 }
 
-void *
+static void *
 intel_miptree_map_raw(struct brw_context *brw, struct intel_mipmap_tree *mt)
 {
    /* CPU accesses to color buffers don't understand fast color clears, so
@@ -2221,7 +2221,7 @@ intel_miptree_map_raw(struct brw_context *brw, struct intel_mipmap_tree *mt)
    return bo->virtual;
 }
 
-void
+static void
 intel_miptree_unmap_raw(struct intel_mipmap_tree *mt)
 {
    drm_intel_bo_unmap(mt->bo);